Skip to content

Commit

Permalink
Merge pull request #89380 from dalexeev/doc-fix-rst-gen-for-codeblock…
Browse files Browse the repository at this point in the history
…-lang-text

Documentation: Fix RST generation for `[codeblock lang=text]`
  • Loading branch information
akien-mga committed Mar 11, 2024
2 parents 6cfed97 + ca48698 commit effb270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tools/make_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit effb270

Please sign in to comment.