trullock / NUglify

NUglify is a HTML, JavaScript and CSS minification Library for .NET (fork of AjaxMin + new features)
Other
396 stars 79 forks source link

Add ability to disable tags being converted to lower case in HtmlSettings #311

Closed mattscotty closed 2 years ago

mattscotty commented 2 years ago

Currently HTML tags are converted to lower case when using Uglify.Html(). To take into account case sensitive tags that may be being read by another app which is case sensitive (e.g. when minifying XML), a new setting should be added to HtmlSettings, similar to AttributesCaseSensitive. E.g.

NUglify.Html.HtmlSettings { TagsCaseSensitive = true }

trullock commented 2 years ago

Fixed in 1.20.0