www: Remove author line/asciidoc vars from output.

This commit is contained in:
Florian Bruhin 2015-11-18 06:51:46 +01:00
parent 244d86c85a
commit 98fbdde846

View File

@ -125,6 +125,11 @@ class AsciiDoc:
elif line.strip() == '// QUTE_WEB_HIDE_END': elif line.strip() == '// QUTE_WEB_HIDE_END':
assert hidden assert hidden
hidden = False hidden = False
elif line == "The Compiler <mail@qutebrowser.org>\n":
continue
elif re.match(r'^:\w+:.*', line):
# asciidoc field
continue
if not found_title: if not found_title:
if re.match(r'^=+$', line): if re.match(r'^=+$', line):