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

Link ("click" statement) in flowchart does not work in exported SVG #646

Closed
abnerlee opened this issue Apr 4, 2018 · 2 comments
Closed

Comments

@abnerlee
Copy link

abnerlee commented Apr 4, 2018

version: v8.0

mermaid source

graph LR;
A --- B
B --- C
click A "http://www.google.com" "This is a link"

htmlLabels are enabled.

In previous version, A will be rendered as <a>, but in v8.0 version, the click events is controlled by javascript, therefore, in exported SVG, A is not clickable anymore.

I would suggest A to be rendered as <a> rather than use js to mock a <a>

@tylerlong
Copy link
Collaborator

I confirm I can reproduce the issue

@abnerlee
Copy link
Author

This seems fixed

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
Bumps node from 17.4.0 to 17.5.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

2 participants