htmlcompressor
htmlcompressor copied to clipboard
removeSpacesInsideTags incorrectly removes space after some unquoted attributes
$ echo '<a href=#a />' >test.html
$ java -jar htmlcompressor-1.5.3.jar test.html
Expected output: <a href=#a />
Actual output: <a href=#a/>
Fix attached.
Original issue reported on code.google.com by [email protected] on 28 Dec 2013 at 7:51
Attachments:
PS. Sorry, I have no idea how to work with SVN or prepare a proper patch (or
something). Hope that this diff will be enough to apply it to the sources.
--
Michal Nazarewicz <[email protected]>
Original comment by [email protected] on 28 Dec 2013 at 7:52