diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index 795a83793..488f2685d 100755 --- a/scripts/asciidoc2html.py +++ b/scripts/asciidoc2html.py @@ -125,6 +125,11 @@ class AsciiDoc: elif line.strip() == '// QUTE_WEB_HIDE_END': assert hidden hidden = False + elif line == "The Compiler \n": + continue + elif re.match(r'^:\w+:.*', line): + # asciidoc field + continue if not found_title: if re.match(r'^=+$', line):