Forgot to actually commit that fix

This commit is contained in:
Zergling_man 2024-02-14 16:55:31 +11:00
parent a9eecd1c05
commit f2de3d9584

View File

@ -268,7 +268,7 @@ class HTMLProcessor:
return { return {
"tags": inline_tags if inline else all_tags, "tags": inline_tags if inline else all_tags,
"attributes": inlines_attributes if inline else attributes, "attributes": inlines_attributes if inline else attributes,
"empty": {} if inline else {"hr", "br", "img"}, "empty": set() if inline else {"hr", "br", "img"},
"separate": {"a"} if inline else { "separate": {"a"} if inline else {
"a", "p", "li", "table", "tr", "th", "td", "br", "hr", "img", "a", "p", "li", "table", "tr", "th", "td", "br", "hr", "img",
}, },