Skip to content

Commit

Permalink
Added DecodeEntityCharacters Html Option to decide decoding of entity…
Browse files Browse the repository at this point in the history
… characters

NUglify has this Html Setting already. Just need to map it to make it working.
  • Loading branch information
imatoria authored and rockstardev committed Oct 20, 2019
1 parent d556460 commit e27ec79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BundlerMinifier.Core/Minify/HtmlOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public static HtmlSettings GetSettings(Bundle bundle)
RemoveQuotedAttributes = GetValue(bundle, "removeQuotedAttributes", true) == "True",
CollapseWhitespaces = GetValue(bundle, "collapseWhitespace", true) == "True",
IsFragmentOnly = GetValue(bundle, "isFragmentOnly", true) == "True",
KeepOneSpaceWhenCollapsing = GetValue(bundle, "keepOneSpaceWhenCollapsing", false) == "True"
KeepOneSpaceWhenCollapsing = GetValue(bundle, "keepOneSpaceWhenCollapsing", false) == "True",
DecodeEntityCharacters = GetValue(bundle, "decodeEntityCharacters", true) == "True"
};

return settings;
Expand Down

0 comments on commit e27ec79

Please sign in to comment.