From 3c573ac187c7c11adab459a91bf7fb8dc6dc53ec Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 8 Aug 2016 15:13:30 +0200 Subject: [PATCH] Fix upper-case tag names for WordHinter --- qutebrowser/browser/hints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 146a9af35..278ad7d0d 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -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)