Handle <ol> and <u> tags
This commit is contained in:
parent
1a0ce4a967
commit
7f5ffdde0b
2
mbox2web
2
mbox2web
|
@ -198,7 +198,7 @@ class HTMLPart(html.parser.HTMLParser):
|
||||||
allowed_tags = [
|
allowed_tags = [
|
||||||
"h2", "a", "wbr", "hr", "pre", "img", "font", "i", "br", "table", "tr",
|
"h2", "a", "wbr", "hr", "pre", "img", "font", "i", "br", "table", "tr",
|
||||||
"th", "td", "b", "select", "option", "input", "sup", "address",
|
"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" ]
|
hide_tags = [ "title" ]
|
||||||
ignore_tags = [ "html", "head", "body", "marquee", "meta", "form", ]
|
ignore_tags = [ "html", "head", "body", "marquee", "meta", "form", ]
|
||||||
|
|
Loading…
Reference in New Issue