From 97cc2e53f6fbba7e85a2cbb79f38e077a6e511f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 24 Jan 2020 13:08:36 +0100 Subject: [PATCH] makerst: Escape reST markup after enums Fixes #35501. --- doc/tools/makerst.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py index 18fc70516ed..1ba942585cc 100755 --- a/doc/tools/makerst.py +++ b/doc/tools/makerst.py @@ -881,6 +881,7 @@ def rstize_text(text, state): # type: (str, State) -> str inside_code = True elif cmd.startswith('enum '): tag_text = make_enum(cmd[5:], state) + escape_post = True else: tag_text = make_type(tag_text, state) escape_post = True