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
The reason being the new one will match any non whitespace char, and there is no whitespace until the ellipse tag, which has a slash at the end, completing the pattern.
If the point really is to allow XML namespaces and other symbols with special meaning in SVG, maybe you could specify them explicitly as [\w-.:] or some such?
For me it does not matter anymore since I've switched to SVG.js version 2, where you don't need an export or import plugin anymore - it comes "out of the box".
Iam sorry that you used so much effort to find that bug. The svg.import.js plugin is obsolete because its feature was introduced in the core since svg.js v2
Hey,
apparently some commit broke the import of the following SVG string:
The rect doesn't appear with the latest version, but with the one on the Amazon CDN it works:
https://s3-eu-west-1.amazonaws.com/svgjs/svg.import.js
Have a look at this diff:
https://www.diffchecker.com/ojcpdhyf
After further investigation I found out that if I swap
with
everything works as expected.. mmh..
This commit introduced that change: db0156c
What are elements with namespaces? Can't find anything about them in the docs
The text was updated successfully, but these errors were encountered: