Forgot to actually commit that fix
This commit is contained in:
parent
a9eecd1c05
commit
f2de3d9584
|
@ -268,7 +268,7 @@ class HTMLProcessor:
|
|||
return {
|
||||
"tags": inline_tags if inline else all_tags,
|
||||
"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 {
|
||||
"a", "p", "li", "table", "tr", "th", "td", "br", "hr", "img",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user