NUglify
NUglify copied to clipboard
Support Knockout comments in HTML
Currently Knockout comments for containerless bindings in a HTML file get stripped away like normal comments. A fragment like this:
<div>
<!--ko if: observable-->
<p></p>
<!--/ko-->
</div>
gets minified to this:
<div><p></p></div>
instead of this:
<div><!--ko if:observable--><p></p><!--/ko--></div>
This is high priority IMO. AjaxMin had this feature
This is fixed by commit 44a36ae