Skip to content

Commit a44fecd

Browse files
committed
unescape attribution names, too
1 parent 106fb0f commit a44fecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function parse(selector){
8383

8484
tokens.push({
8585
type: "attribute",
86-
name: data[1],
86+
name: unescapeCSS(data[1]),
8787
action: actionTypes[data[2]],
8888
value: unescapeCSS(data[4] || data[5] || ""),
8989
ignoreCase: !!data[6]

0 commit comments

Comments
 (0)