About HTML Minify
-
Love this all-encompassing plugin. We have an issue with HTML minification. In our templates, when we use a few spaces inside attributes, which we do for legible reading in the source code, we’d like it to be replaced by single spaces in the minified version in production. This is how various tools such as Gulp etc work. But we’re finding that html minify from Clearfy leaves some specific things alone and does *not* minify them. Why?
For example, take a look at the page source of the attached URL:
https://geislingen.estdocs.com/stories/heading-to-the-free-world/There’s no reason the line breaks here should be line breaks at all. They can easily become one space, which would make them a single long line of all HTML.
What am I missing? Welcome any pointers. Thanks!
The page I need help with: [log in to see the link]
The topic ‘About HTML Minify’ is closed to new replies.