Skip to content

Commit 4da7c4b

Browse files
authored
Merge pull request #2997 from mgreter/bugfix/2884-attribute-selector-equality
Fix attribute selector equality (include modifier)
2 parents 04a234a + deeebbf commit 4da7c4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ast_sel_cmp.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ namespace Sass {
367367
if (is_ns_eq(rhs)) {
368368
if (name() != rhs.name()) return false;
369369
if (matcher() != rhs.matcher()) return false;
370+
if (modifier() != rhs.modifier()) return false;
370371
const String* lhs_val = value();
371372
const String* rhs_val = rhs.value();
372373
return PtrObjEquality()(lhs_val, rhs_val);

0 commit comments

Comments
 (0)