Skip to content

Commit

Permalink
Fix attribute selector equality (include modifier)
Browse files Browse the repository at this point in the history
mgreter committed Oct 4, 2019

Verified

This commit was signed with the committer’s verified signature.
vbudhram Vijay Budhram
1 parent 35b3293 commit deeebbf
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
@@ -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);

0 comments on commit deeebbf

Please sign in to comment.