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

TypeError: URL.canParse is not a function due to sanitize-url lib issue #5871

Open
sewolf opened this issue Sep 17, 2024 · 0 comments
Open
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@sewolf
Copy link

sewolf commented Sep 17, 2024

Description

unable to render a flowchart with a link with electron Version 27.3.10 due to sanitize-url lib issue

Steps to reproduce

npm install -g electron@v27.3.10
electron https://mermaid.live/edit\#pako:eNo1jrsKAjEQRX8lTKWwjz6dwVIbbQMyJrNu2DyWMCHIsv9uUOwOl8PlbGCSJZAw-VTNjJnF5abjqe97dVBHHY13ZhFKaJiZVzmOtdbh6XGwpEE8GsUFOgiUAzrbjjYdRbN5ptAM2dDShMWzBh33pmLhdH9HA5JzoQ7KapHp7PCVMfxHso5Tvv7avon7B8lPOQU

Screenshots

Bildschirmfoto 2024-09-17 um 15 46 42

Code Sample

flowchart LR
A---B(B)
click B "http://www.bla.de" _blank

Setup

  • Mermaid version: 11.2.1
  • Electron version: 27.3.10

Suggested Solutions

No response

Additional Context

No response

@sewolf sewolf added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant