Преглед изворни кода

Merge pull request #65670 from Jayman2000/fix-rst-doc-literals

Fix invalid literals in generated rst docs
Yuri Sizov пре 3 година
родитељ
комит
16228ba3e2
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      doc/tools/make_rst.py

+ 2 - 0
doc/tools/make_rst.py

@@ -1480,6 +1480,8 @@ def format_text_block(
                                 )
 
                         tag_text = f"``{link_target}``"
+                        escape_pre = True
+                        escape_post = True
 
             # Formatting directives.