AndersDJohnson / AndersDJohnson/htmlcompressor

HTML analyzer wrongly reports extra 2 bytes

未关闭
#65 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
auto-migrated Priority-Medium Type-Defect
主要语言
Java
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。