-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix]: [collapseWhitespace] Normalize white spaces safely #21
Comments
Along with this, whitespace between tags within |
@stevenvachon, thanks! I've created an issue for that: #24 |
I think this is fixed (at least partially) by setting I saw |
I haven't researched how web browsers render spaces across different elements. I think that it changes depending on block/inline level, which can be overridden via CSS. It might be safer to simply reduce multiple spaces to single spaces via the above mentioned library. |
Exactly. Ignore I set two |
Ok. As originally stated, though, the "conservative" Also, I think that the default should not be "all", since it results in unexpected render differences. |
It should produce safer minification (#21)
Done. It'll be released in 0.2.0 version (I think next week). |
Released: 0.2.0. |
@stevenvachon, thanks for the idea.
The text was updated successfully, but these errors were encountered: