htmlcompressor icon indicating copy to clipboard operation
htmlcompressor copied to clipboard

HTML analyzer wrongly reports extra 2 bytes

Open GoogleCodeExporter opened this issue 10 years ago • 2 comments

On Windows, when I run the following command line (the HTML file is the one 
included in the test resources) :
java -jar htmlcompressor-1.5.2.jar -a testSimpleDoctypeResult.html

I see the following output:
================================================================================
         Setting          | Incremental Gain |    Total Gain    |  Page Size   |
================================================================================
Compression disabled      |         0 (0.0%) |         0 (0.0%) |           17 |
All settings disabled     |        2 (11.8%) |        2 (11.8%) |           15 |
[...]

I don't understand what those 2 extra bytes are, the file is originally only 15 
bytes.

Original issue reported on code.google.com by [email protected] on 13 Dec 2011 at 7:15

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter

Please attach the file.

Original comment by [email protected] on 13 Dec 2011 at 8:40

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter

Here is the file (it's the same as what you have on your test resources on SVN).

Original comment by [email protected] on 14 Dec 2011 at 8:26

Attachments:

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter