Handle <ol> and <u> tags

This commit is contained in:
Peter J. Holzer 2019-03-01 22:52:07 +01:00
parent 1a0ce4a967
commit 7f5ffdde0b
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class HTMLPart(html.parser.HTMLParser):
allowed_tags = [
"h2", "a", "wbr", "hr", "pre", "img", "font", "i", "br", "table", "tr",
"th", "td", "b", "select", "option", "input", "sup", "address",
"center", "p", "h1", "dl", "h3", "ul", "li",
"center", "p", "h1", "dl", "h3", "ul", "li", "ol", "u"
]
hide_tags = [ "title" ]
ignore_tags = [ "html", "head", "body", "marquee", "meta", "form", ]