We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if you have svgs with unquoted attributes such as: xmlns="http://www.w3.org/2000/svg" width=20px height=20px
xmlns="http://www.w3.org/2000/svg" width=20px height=20px
The error: Error in parsing SVG: Unquoted attribute value is emitted.
Error in parsing SVG: Unquoted attribute value
I've created a loader to temporary fix this: https://www.npmjs.com/package/xml-fix-loader
{ test: /\.svg$/, use: [ { loader: 'file-loader' }, { loader: 'xml-fix-loader' } ] } ... plugins: [ ... new ImageminPlugin() ]
Also opened a bug on svgo: svg/svgo#678
svgo
The text was updated successfully, but these errors were encountered:
Unfortunately there is nothing I can do to to fix this in my package.
Thanks for making an issue with SVGO, and I'll add a note about this to the readme as I think this actually fixes another issue I have open here.
I appreciate the work!
Sorry, something went wrong.
No branches or pull requests
if you have svgs with unquoted attributes such as:
xmlns="http://www.w3.org/2000/svg" width=20px height=20px
The error:
Error in parsing SVG: Unquoted attribute value
is emitted.I've created a loader to temporary fix this:
https://www.npmjs.com/package/xml-fix-loader
Also opened a bug on
svgo
:svg/svgo#678
The text was updated successfully, but these errors were encountered: