diff --git a/doc/scripts/wikiparser.py b/doc/scripts/wikiparser.py index 51bae56e5..b1a9a0d25 100644 --- a/doc/scripts/wikiparser.py +++ b/doc/scripts/wikiparser.py @@ -1053,7 +1053,7 @@ TableItem([Paragraph([PlainText('3 ')])])])])] [Category('FreedomBox')] >>> parse_wiki('<>') - [Anchor('gettinghelp')] + [Paragraph([Anchor('gettinghelp')])] >>> parse_wiki('<>') [Include('FreedomBox/Portal')] @@ -1521,7 +1521,7 @@ PlainText(' dialog. ')])])])] match = re.match(r'<>', line) if match: content = match.group(1) - elements.append(Anchor(content)) + elements.append(Paragraph([Anchor(content)])) continue # Include