Skip to content

Commit

Permalink
Merge pull request sass#2997 from mgreter/bugfix/2884-attribute-selec…
Browse files Browse the repository at this point in the history
…tor-equality

Fix attribute selector equality (include modifier)
  • Loading branch information
mgreter authored Oct 4, 2019
2 parents 04a234a + deeebbf commit 4da7c4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ast_sel_cmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ namespace Sass {
if (is_ns_eq(rhs)) {
if (name() != rhs.name()) return false;
if (matcher() != rhs.matcher()) return false;
if (modifier() != rhs.modifier()) return false;
const String* lhs_val = value();
const String* rhs_val = rhs.value();
return PtrObjEquality()(lhs_val, rhs_val);
Expand Down

0 comments on commit 4da7c4b

Please sign in to comment.