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
I'm getting Cannot read property 'value' of undefined error when my gulp-svgmin plugin is processing this svg file.
Cannot read property 'value' of undefined
The error comes from svgo/plugins/convertEllipseToCircle.js:21:31, which is this line here:
svgo/plugins/convertEllipseToCircle.js:21:31
var rx = item.attr('rx').value || 0;
The only ellipse tag in the file is this one:
<ellipse style="opacity:1;fill:#4f4e57;fill-opacity:1;stroke:none;stroke-width:70;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path5227" cy="500" cx="500" r="100" />
The text was updated successfully, but these errors were encountered:
[convertEllipseToCircle] fix ellipse without radius
7f4e052
Ref #1264
Fixed in https://github.com/svg/svgo/releases/tag/v2.0.3
Sorry, something went wrong.
No branches or pull requests
I'm getting
Cannot read property 'value' of undefined
error when my gulp-svgmin plugin is processing this svg file.The error comes from
svgo/plugins/convertEllipseToCircle.js:21:31
, which is this line here:The only ellipse tag in the file is this one:
The text was updated successfully, but these errors were encountered: