• Resolved camya

    (@ecc)


    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

    • This topic was modified 4 years, 1 month ago by camya.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    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,

    Thread Starter camya

    (@ecc)

    Hi qtwrk,

    I understand, that it’s 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 it’s really an interesting question, where they expect to find bug reports. From a developers perspective, the answer is really easy. It’s GitHub (or SVN).

    Nevertheless will post issues now directly on GitHub.

    Cheers,

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.