소스 검색

Merge pull request #56165 from timothyqiu/escape-fix

Rémi Verschelde 3 년 전
부모
커밋
650b77340d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/tools/make_rst.py

+ 1 - 0
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:] + ')'