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
Describe the bug
When you render an image on mermaid.live and export the image to svg,
the image exported contains an error: Namespace prefix xlink for href on a is not defined
Note that this does not happen when you click
and do right click - download image on the new tab
To Reproduce
Create an image with:
sequenceDiagram
participant Client
participant Graph
participant SpaceA
participant SpaceB
links Client: {"web": "https://owncloud.dev/clients/web/", "RClone": "https://owncloud.dev/clients/rclone/"}
link Graph: Documentation @ https://owncloud.dev/extensions/graph/
Note left of Client: First, a clients looks<br/>up the spaces a user has access to
opt space lookup
Client->>+Graph: GET /me/drives
Graph-->>-Client: 200 OK JSON list of spaces, say A, B and C,<br/> each with a dedicated webDavURL, etag and quota
end
Note left of Client: Then it can do a parallel<br/>sync discovery on spaces<br/>whose etag changed
par Client to Space A
Client->>+SpaceA: PROPFIND {webDavURL for Space A}
SpaceA-->>-Client: 207 Multistatus PROPFIND response
and Client to Space B
Client->>+SpaceB: PROPFIND {webDavURL for space B}
SpaceB-->>-Client: 207 Multistatus PROPFIND response
end
and export it to SVG.
Then try to open the SVG with a browser.
Expected behavior
No error output
Screenshots
Desktop (please complete the following information):
OS: Win64 / Ubuntu 20.04
Browser: Opera / Chrome
Version: latest
Fix Proposal
When changing the following manually in the svg image exported, all is fine and free of errors: xmlns="http://www.w3.org/2000/svg" --> xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
Describe the bug
When you render an image on mermaid.live and export the image to svg,
the image exported contains an error:
Namespace prefix xlink for href on a is not defined
This is because of: https://stackoverflow.com/questions/59138117/svg-namespace-prefix-xlink-for-href-on-image-is-not-defined
Note that this does not happen when you click
and do right click - download image on the new tab
To Reproduce
Create an image with:
and export it to SVG.
Then try to open the SVG with a browser.
Expected behavior
No error output
Screenshots
Desktop (please complete the following information):
Fix Proposal
When changing the following manually in the svg image exported, all is fine and free of errors:
xmlns="http://www.w3.org/2000/svg"
-->xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
@sidharthv96 FYI (hopefully you can fix this)
The text was updated successfully, but these errors were encountered: