Fix upper-case tag names for WordHinter
This commit is contained in:
parent
b8e2d5f8f6
commit
3c573ac187
@ -1027,9 +1027,9 @@ class WordHinter:
|
|||||||
}
|
}
|
||||||
|
|
||||||
extractable_attrs = collections.defaultdict(list, {
|
extractable_attrs = collections.defaultdict(list, {
|
||||||
"IMG": ["alt", "title", "src"],
|
"img": ["alt", "title", "src"],
|
||||||
"A": ["title", "href", "text"],
|
"a": ["title", "href", "text"],
|
||||||
"INPUT": ["name"]
|
"input": ["name"]
|
||||||
})
|
})
|
||||||
|
|
||||||
return (attr_extractors[attr](elem)
|
return (attr_extractors[attr](elem)
|
||||||
|
Loading…
Reference in New Issue
Block a user