Bug in HTML Minify ? Missing spaces after two linebreaks.




Wordpress LScache Plugin: Bug in HTML Minify ? Missing spaces after two linebreaks.

Last Updated on: Wed, 15 Apr 2026 00:00:02
It looks like the HTML Minify parser is a little bit greedy, if there is more than one linebreak. The parser than omits a required space. You can see it in Example 3 ? Read morehere! misses the space beween the text Read more and the link text here! . The problem only occurs, if is more than one linebreak. Output of the markup below: 1.) Read more here! [GOOD] 2.) Read more here! [GOOD] 3.) Read morehere! [BUG ? Missing space!] Test markup: 1.) Read more here! 2.) Read more here! 3.) Read more here! Reference: Bug report on GitHub This topic was modified 2 years, 5 months ago by camya. Hi, Please do not open multiple post for same issue over multiple different location. I will close this one and let developers handle it in github issue. Best regards, Hi qtwrk, I understand, that its indeed better to post issues at one place only. On the other hand, the chance that regular WordPress Plugin user will read GitHub issues is small, I guess. From a WordPress regular plugin user perspective its really an interesting question, where they expect to find bug reports. From a developers perspective, the answer is really easy. Its GitHub (or SVN). Nevertheless will post issues now directly on GitHub. Cheers,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference