Bug in HTML Minify – Missing spaces after two linebreaks.
-
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:
<p> 1.) Read more <a href="#">here!</a> </p> <p> 2.) Read more <a href="#">here!</a> </p> <p> 3.) Read more <a href="#">here!</a> </p>
Reference: Bug report on GitHub
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug in HTML Minify – Missing spaces after two linebreaks.’ is closed to new replies.