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

This commit is contained in:
Danil Alexeev 2024-03-11 10:24:09 +03:00
parent 810f127022
commit ca486985d5
No known key found for this signature in database
GPG Key ID: 124453E157DA8DC7

View File

@ -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"