removes unneccessary set casts
This commit is contained in:
parent
456525aa25
commit
8521182a09
|
@ -268,10 +268,10 @@ class HTMLProcessor:
|
|||
return {
|
||||
"tags": inline_tags if inline else all_tags,
|
||||
"attributes": inlines_attributes if inline else attributes,
|
||||
"empty": set() if inline else set({"hr", "br", "img"}),
|
||||
"separate": set({"a"}) if inline else set({
|
||||
"empty": set() if inline else {"hr", "br", "img"},
|
||||
"separate": {"a"} if inline else {
|
||||
"a", "p", "li", "table", "tr", "th", "td", "br", "hr", "img",
|
||||
}),
|
||||
},
|
||||
"whitespace": set(),
|
||||
"keep_typographic_whitespace": True,
|
||||
"add_nofollow": False,
|
||||
|
|
Loading…
Reference in New Issue
Block a user