-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Minification breaks inline SVG #6475
Comments
Hi @Arty2, thank you for your report! This looks to be an issue with the "minify" library that we use, and I have forwarded your report to tdewolff/minify#269, so please follow that issue there too. If you were to experience any other issues related to minification, it would be great if you could create an issue at https://github.com/tdewolff/minify/issues which is closer to where it needs to be fixed. Thanks! |
A variation of this is still an issue unfortunately, see: tdewolff/minify#284 Can we please have an option to disable inline SVG minification? |
Probably, but you need to create a separate issue. |
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. |
An inline SVG is modified (and broken) by the minifier.
See the following after
.005-.372
:Original:
Minified:
What version of Hugo are you using (
hugo version
)?Hugo Static Site Generator v0.59.1-D5DAB232 windows/amd64 BuildDate: 2019-10-31T15:22:43Z
Does this issue reproduce with the latest release?
Yes (it is the latest)
The text was updated successfully, but these errors were encountered: