• Resolved CB

    (@cbrandt)


    Hi,

    Great optimizer, it makes a big difference in my website when turned on for CSS/HTML (somehow the JS option breaks my site, but that’s an issue for other topic)

    Right now I have HTML optimization turned off. I’m having an issue where some classes in HTML descriptors are being glued by Autoptimize’s minifiaction. For instance, <p class=”header header–brand”> becoming <p class=”headerheader–brand”>

    Not sure if this is causing the problem, but with the help of my theme’s developers, I actually became aware that the HTML generated by PHP inserts some CR/LF characters between the classes, as opposed to spaces.

    https://snag.gy/7h3Ojc.jpg << Without Autoptimize
    https://snag.gy/9LvOla.jpg << With Autoptimize

    I wonder if you guys are aware of this issue, and whether this can be fixed.

    Thank you,
    Claudio

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘HTML minification gluing class names’ is closed to new replies.