BoobathiPS / htmlcompressor

Automatically exported from code.google.com/p/htmlcompressor
Apache License 2.0
0 stars 0 forks source link

&& in attributes breaks compression #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write HTML that has to use && (eg: Angular)
2. Try to run the compressor on it.
3. Note that you have missing code, weird quotation marks, etc.

What is the expected output? What do you see instead?

I expect && to appear in my attributes and for the rest of the code to compress 
nicely.  Instead, the parser seems to be totally confused.

What version of the product are you using? On what operating system?

0.1.2 via middleman-minify-html 3.4.0

Original issue reported on code.google.com by Smokejum...@gmail.com on 26 Dec 2014 at 8:17

GoogleCodeExporter commented 9 years ago
but you are using a raw ruby port of this jar.
https://github.com/paolochiodi/htmlcompressor

Unless you can reproduce it with the java version (and I can't) I think you 
should report it as issue here:
https://github.com/paolochiodi/htmlcompressor/issues

Original comment by harald.walker on 19 Jun 2015 at 12:45