Handle <ul> and <li> in html messages

This commit is contained in:
Peter J. Holzer 2019-03-01 13:54:37 +01:00
parent ea60f484a3
commit 36a640857c
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"
"center", "p", "h1", "dl", "h3", "ul", "li",
]
hide_tags = [ "title" ]
ignore_tags = [ "html", "head", "body", "marquee", "meta", "form", ]