You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you sure this is the correct behaviour? Browsers would not open such files. Meanwhile Inkscape, librsvg and QtSvg are fine.
And I'm not sure how easy it would be to implement this. Adding an option is definitely not the way. It should be handled automatically.
Overall, it's a super rare edge case we can simply ignore.
usvg
will currently fail to parse otherwise valid SVGs is thexmlns
attribute is missing. This is the correct behaviour for standalone SVG files, but not correct for "inline SVGs" embedded within HTML documents.As such, I would like to propose that an option is added to usvg::Options that determines whether the namespace should check is enabled.
I would be able to create a PR for this.
The text was updated successfully, but these errors were encountered: