-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
css minify loses space after ) #6563
Comments
This is also breaking the AMP pages |
Could be fixed in #6756 |
It did not fix in Hugo version 0.68.3
Amp validation is still breaking |
I've tested the original issue and this is not an issue (anymore) in |
Looks fixed now... |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Since I updated from 0.59.1 to 0.60.1, the "| minify" command removes important spaces from CSS:
STYLE TEMPLATE:
ORIGINAL CSS:
background: rgba(109, 109, 109, 1) url('/img/slide-home.jpg') no-repeat center center;
MINIFIED TO:
background:#6d6d6durl(/img/slide-home.jpg)no-repeat 50%;
In the minified version is a space missing right after the color and the url - it looks like a missing space after a ")".
The result
#6d6d6durl
results in no background image displayed. And i can imagine the missing space in)no-repeat
can cause confusion, too?What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
The text was updated successfully, but these errors were encountered: