summaryrefslogtreecommitdiff
path: root/doc/tools/makerst.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-19 21:02:13 +0100
committerGitHub <noreply@github.com>2017-11-19 21:02:13 +0100
commit1552dbfb21f005ae7f747b8867f9da553b678b77 (patch)
treed08b82753a8b505cd2286774924bd85324bef271 /doc/tools/makerst.py
parent249c11784acd1c2b206efc2ab408c638bcd01287 (diff)
parent7c3ba6f72bf06755cec0439d8560ca72ef80b780 (diff)
Merge pull request #13001 from capnm/fix_class_docs_inline_markup
Fix the class docs for the rst-syntax errors. [ci skip]
Diffstat (limited to 'doc/tools/makerst.py')
-rw-r--r--doc/tools/makerst.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py
index d3ddbaddca..cd0108019b 100644
--- a/doc/tools/makerst.py
+++ b/doc/tools/makerst.py
@@ -207,6 +207,7 @@ def rstize_text(text, cclass):
elif cmd == '/code':
tag_text = '``'
inside_code = False
+ escape_post = True
elif inside_code:
tag_text = '[' + tag_text + ']'
elif cmd.find('html') == 0: