HTML minification gluing class names
-
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 AutoptimizeI wonder if you guys are aware of this issue, and whether this can be fixed.
Thank you,
ClaudioThe page I need help with: [log in to see the link]
The topic ‘HTML minification gluing class names’ is closed to new replies.