Minifying HTML removes all comments
-
Hi, I’m using Knockout.js on some of my pages, which sometimes includes syntax utilizing HTML comments <!– ko [some binding goes here] –><!– /ko –>. When I use your plugin to minify the HTML it removes all my comments, which in my case is detrimental. Is it possible to minify HTML without removing comments? Would you consider adding that as an option?
HTML comments are also historically used to write code for specific versions of IE, so I think mine isn’t the only use-case.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Minifying HTML removes all comments’ is closed to new replies.