4 ms·
Kangax: Just one notice, it chokes on comments like this: /* * _ _ * | (_) * __| |_ ___ * / _` | |/ _ \ * | (_| | | __/
by sogen 12y ago
Kangax: Just one notice, it chokes on comments like this:
/*
* _ _
* | (_)
* __| |_ ___
* / _` | |/ _ \
* | (_| | | __/
* \__,_|_|\___|
*
*/
No biggie, but had to manually remove them from my code.
- kangax 12y agoHm, really? Works for me on http://kangax.github.io/html-minifier/ http://kangax.github.io/html-minifier/
- sogen 12y agoFound 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/e2ec898e586a9cb9e335/raw/edc3d9da87218c82bb7bd7957d778b94a3ffb299/gistfile1.txt https://gist.githubusercontent.com/sogen/e2ec898e586a9cb9e33... removing the " > < " makes it work.
- kangax 12y agoThanks, filed as https://github.com/kangax/html-minifier/issues/220 https://github.com/kangax/html-minifier/issues/220