diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-22 18:46:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-22 18:46:47 +0100 |
commit | 650b77340dcf1e20c744c941ec07b596fc37974f (patch) | |
tree | 7f3c7e399a172515b48bfdd91c5d212655388f1c /doc | |
parent | 0f6a6ca5be1d674a6dfce03684bbf469d77e5e63 (diff) | |
parent | a07e2b71fc3386cfa05d4c3e452faf949d621db6 (diff) |
Merge pull request #56165 from timothyqiu/escape-fix
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/tools/make_rst.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py index 3b965f0dba..4cb9de6d58 100755 --- a/doc/tools/make_rst.py +++ b/doc/tools/make_rst.py @@ -1042,6 +1042,7 @@ def rstize_text(text, state): # type: (str, State) -> str if class_param != state.current_class: repl_text = "{}.{}".format(class_param, method_param) tag_text = ":ref:`{}<class_{}{}_{}>`".format(repl_text, class_param, ref_type, method_param) + escape_pre = True escape_post = True elif cmd.find("image=") == 0: tag_text = "" # '![](' + cmd[6:] + ')' |