AndersDJohnson / AndersDJohnson/htmlcompressor

HTML analyzer wrongly reports extra 2 bytes

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Java
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.