alikothari / htmlcompressor

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

HTML analyzer wrongly reports extra 2 bytes #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 pablo.t...@gmail.com on 13 Dec 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Please attach the file.

Original comment by serg472@gmail.com on 13 Dec 2011 at 8:40

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

Original comment by pablo.t...@gmail.com on 14 Dec 2011 at 8:26

Attachments: