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, {
|
||||
"IMG": ["alt", "title", "src"],
|
||||
"A": ["title", "href", "text"],
|
||||
"INPUT": ["name"]
|
||||
"img": ["alt", "title", "src"],
|
||||
"a": ["title", "href", "text"],
|
||||
"input": ["name"]
|
||||
})
|
||||
|
||||
return (attr_extractors[attr](elem)
|
||||
|
Loading…
Reference in New Issue
Block a user