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

Remove unnecessary whitespace from Knockout.JS comments #297

Open mattscotty opened 2 years ago

mattscotty commented 2 years ago

When developing with Knockout.JS I think its more readable to have a bit of whitespace;

                <!-- ko if : a -->
                    <th data-bind="text:'a'"></th>
                <!-- /ko -->

However, this could be reduced to;

                <!--ko if:a-->
                    <th data-bind="text:'a'"></th>
                <!--/ko-->