Comment on HTML minifier revisitedComments−sogen12yKangax: Just one notice, it chokes on comments like this:/** _ _* | (_)* __| |_ ___* / _` | |/ _ \* | (_| | | __/* \__,_|_|\___|**/No biggie, but had to manually remove them from my code.−kangaxOP12yHm, really? Works for me on http://kangax.github.io/html-minifier/−sogen12yFound the culprit, but it's unlikely to happen:1.- The characters "> <" need to be present (they are inside the X in Clearfix:2.- Only breaks when pasting inline CSS with no enclosing <style>: https://gist.githubusercontent.com/sogen/e2ec898e586a9cb9e33...removing the " > < " makes it work.−kangaxOP12yThanks, filed as https://github.com/kangax/html-minifier/issues/220
Comments
Kangax: Just one notice, it chokes on comments like this:
/*
* _ _
* | (_)
* __| |_ ___
* / _` | |/ _ \
* | (_| | | __/
* \__,_|_|\___|
*
*/
No biggie, but had to manually remove them from my code.
Hm, really? Works for me on http://kangax.github.io/html-minifier/
Found the culprit, but it's unlikely to happen:
1.- The characters "> <" need to be present (they are inside the X in Clearfix:
2.- Only breaks when pasting inline CSS with no enclosing <style>: https://gist.githubusercontent.com/sogen/e2ec898e586a9cb9e33...
removing the " > < " makes it work.
Thanks, filed as https://github.com/kangax/html-minifier/issues/220