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

Whitespace within <pre> and <code> blocks should never be modified. #348

Open vassudanagunta opened 1 year ago

vassudanagunta commented 1 year ago

At least until v1.17.14, when NUglify normalizes/beautifies HTML, it adds newlines and indentation to the content of <code> and <pre> elements, something it should not do.

You can see this manifest in Babelmark3, as reported with examples in babelmark/babelmark.github.io#18.