Skip to content

Commit

Permalink
bring back 'l' check
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Dec 26, 2023
1 parent 9fb9513 commit f08bc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser.js
Expand Up @@ -43,7 +43,7 @@ export function parse (value, root, parent, rule, rules, rulesets, pseudo, point
switch (previous = character, character = next()) {
// (
case 40:
if (charat(characters, length - 1) == 58) {
if (previous != 108 && charat(characters, length - 1) == 58) {
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1)
ampersand = -1
break
Expand Down

0 comments on commit f08bc76

Please sign in to comment.