Anchors in click generates wrong links.
This makes it more difficult to create navigation in single-page articles directly from the graph.
Steps to reproduce
flowchart TD
a(clicks) --> b(anchor dont work)
a(clicks) --> c(only full link work)
click b "#issuecomment-2272669141"
click c "https://github.com/mermaid-js/mermaid/issues/5696#issuecomment-2272669141"
Description
Anchors in
click
generates wrong links. This makes it more difficult to create navigation in single-page articles directly from the graph.Steps to reproduce
Screenshots
No response
Code Sample