1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

makerst: Escape reST markup after enums

Fixes #35501.
This commit is contained in:
Rémi Verschelde
2020-01-24 13:08:36 +01:00
parent 1c6d1fcf95
commit 97cc2e53f6

View File

@@ -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