diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py index e10bc3477b36..0d2bc87f55e4 100755 --- a/doc/tools/make_rst.py +++ b/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"