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
Yeah, parser indeed doesn't understand unbound namespace. This was unexpecteed. But anyway, at the moment only convertTransform may produce different result with multipass. And we gonna make it more deterministic. So I recommend to disable multipass mode. It will be removed in v3.
remcohaszing
added a commit
to remcohaszing/remark-mermaidjs
that referenced
this issue
Nov 16, 2021
This has been resolved and will be released in SVGO v3.0.4.
removeXMLNS will no longer remove the XLink namespace at all.
A new plugin, removeXlink can be used to migrate from the XLink namespace to the SVG 2 equivalent when only SVG 2 or inline HTML compatibility is required. (disabled by default)
Describe the bug
As of version 2.8.0, combining both
removeXMLNS
andreusePaths
yields an error.To Reproduce
Steps to reproduce the behavior:
Given the following script:
The following will make the error go away:
multipass: false
reusePaths
pluginremoveXMLNS
pluginExpected behavior
Used namespaces aren’t removed by
removeXMLNS
, so the plugins can work together.Screenshots
N/A
Desktop (please complete the following information):
Additional context
The error was introduced in version 2.8.0.
The text was updated successfully, but these errors were encountered: