summaryrefslogtreecommitdiffstats
path: root/doc/tools/make_rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tools/make_rst.py')
-rwxr-xr-xdoc/tools/make_rst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py
index e10bc3477b..0d2bc87f55 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"