durehed / htmlcompressor

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

workaround for XHTML #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Some software generates XHTML Source Code
like
<input type="submit"/>

then compress it with compressor.setRemoveQuotes(true);

the result is <input type=submit/>
in the browser the button disappears, a textfield appears instead

a workaround would be <input type=submit />

version: htmlcompressor-0.9.4 

Original issue reported on code.google.com by m.konic...@gmail.com on 3 Dec 2010 at 10:54

GoogleCodeExporter commented 8 years ago
Fixed in 0.9.5 (by adding a space as suggested)

Thanks.

Original comment by serg472@gmail.com on 5 Dec 2010 at 6:04