mirror of
https://github.com/godotengine/godot
synced 2024-10-14 21:07:55 +00:00
Documentation: Fix RST generation for [codeblock lang=text]
This commit is contained in:
parent
810f127022
commit
ca486985d5
|
@ -1975,7 +1975,7 @@ def format_text_block(
|
||||||
)
|
)
|
||||||
|
|
||||||
if "lang=text" in tag_state.arguments.split(" "):
|
if "lang=text" in tag_state.arguments.split(" "):
|
||||||
tag_text = "\n.. code::\n"
|
tag_text = "\n.. code:: text\n"
|
||||||
else:
|
else:
|
||||||
tag_text = "\n::\n"
|
tag_text = "\n::\n"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue