Skip to content
New issue

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

Adding links to diagrams cause "MermaidError: URL.canParse is not a function" error #116

Open
jasongrovert opened this issue Dec 23, 2024 · 0 comments

Comments

@jasongrovert
Copy link

Describe the bug
Adding links to the diagram cause "MermaidError: URL.canParse is not a function" error when the Share SVG link is used. Occurs for flowchart and sequence diagrams - potentially others.
To Reproduce
Steps to reproduce the behavior:

  1. Create a diagram with this code:

sequenceDiagram
autonumber
participant HRMS as HRMS System
link HRMS: Dashboard @ https://www.google.com

  1. Click on Share
  2. Visit SVG Link
  3. See error

Expected behavior
SVG should ignore the link code and display it appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant