Fix documentation build after rL369568

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@369578 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst b/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
index 3da36ce..b4d5f75 100644
--- a/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
+++ b/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
@@ -17,11 +17,11 @@
 
 Consider the following code:
 
--- code-block:: c
+.. code-block:: c
 
-int foo() {
-  static int k = bar();
-  return k;
-}
+  int foo() {
+    static int k = bar();
+    return k;
+  }
 
 When synchronization of static initialization is disabled, if two threads both call `foo` for the first time, there is the possibility that `k` will be double initialized, creating a race condition.