• After enabling html-compression, i have lost some of spaces, which should be there.

    here is the HTML-code in editor:

    <ul>
    <li>Bla-bla (<a href="">1</a>, <a href="">2</a>)</li>
    </ul>

    and here is page contents, as it renders in browser:

    Bla-bla (1,2)

    As you can see, there is no space between “,” and “2”. But it should be there. So html-compressing affects human-readable spaces.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author webcraftic

    (@webcraftic)

    Hi,

    I’ll try to fix this problem in the next updates!

    Best regards, Alex K.

    Plugin Author webcraftic

    (@webcraftic)

    Hi,

    Which optimization plugins are you still using? You can deactivate other optimization plugins and test html minification, only in the Clearfy plugin? I tested your example, but in my case the plugin did not kill spaces.

    Best regards, Alex K.

    Thread Starter inboxer

    (@inboxer)

    Yes, my fault, example was wrong, but this works:

    <a href="https://www.ncbi.nlm.nih.gov/pubmed/27895593/">1</a>,?<a href="https://www.ncbi.nlm.nih.gov/pubmed/22134706">2</a>

    no space between 1 and 2

    turn off html-compression – everything is ok, space is there

    Plugin Author webcraftic

    (@webcraftic)

    Hi,

    I will once again test your example and if there is an error, I will try to fix it. Thank you for your help in finding mistakes!

    Best regards, Alex K.

    Plugin Author webcraftic

    (@webcraftic)

    Hi,
    I can not reproduce your problem, can I see the problem on your site? Do you have a test site?
    https://joxi.ru/5mdgNb1ivE01Jr

    Best regards, Alex K.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML-compression kills spaces’ is closed to new replies.