Browse Source

Documentation: Fix RST generation for `[codeblock lang=text]`

Danil Alexeev 1 year ago
parent
commit
ca486985d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/tools/make_rst.py

+ 1 - 1
doc/tools/make_rst.py

@@ -1975,7 +1975,7 @@ def format_text_block(
                     )
 
                     if "lang=text" in tag_state.arguments.split(" "):
-                        tag_text = "\n.. code::\n"
+                        tag_text = "\n.. code:: text\n"
                     else:
                         tag_text = "\n::\n"