Skip to content

Commit

Permalink
Merge pull request #182 from cwall-dev/fix/important-lost-unkownvalues
Browse files Browse the repository at this point in the history
BugFix: Important get's lost in case of Unknown Values.
  • Loading branch information
TylerBrinks authored Oct 17, 2024
2 parents 120ddee + d9ef114 commit 8f13bbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ExCSS/Parser/StylesheetComposer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ public Property CreateDeclarationWith(Func<string, Property> createProperty, ref

property = new UnknownProperty(propertyName);
property.TrySetValue(value);
property.IsImportant = important;
_nodes.Push(property);
}
}
Expand Down

0 comments on commit 8f13bbb

Please sign in to comment.