aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/html/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/html/highlights.scm b/queries/html/highlights.scm
index a30de6750..97fd0d662 100644
--- a/queries/html/highlights.scm
+++ b/queries/html/highlights.scm
@@ -30,7 +30,7 @@
((attribute
(attribute_name) @_attr
(quoted_attribute_value (attribute_value) @text.uri))
- (#eq? @_attr "href"))
+ (#match? @_attr "^(href|src)$"))
"=" @operator