diff --git a/doc/scripts/wikiparser.py b/doc/scripts/wikiparser.py index db7a2cf46..95ec1086f 100644 --- a/doc/scripts/wikiparser.py +++ b/doc/scripts/wikiparser.py @@ -832,6 +832,8 @@ def parse_wiki(text, context=None, begin_marker=None, end_marker=None): >>> parse_wiki('') [] + >>> parse_wiki('<>') + [TableOfContents()] >>> parse_wiki('<>') [TableOfContents()] >>> parse_wiki('<>') @@ -1240,7 +1242,7 @@ PlainText('dialog.')])])])] continue # Table of Contents - match = re.match(r'<>', line) + match = re.match(r'<>', line) if match: level = match.group(1) if level: