Bug: broken links in Mermaid diagrams

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

Links in Mermaid gantt diagrams (and, i think, in other Mermaid diagrams also) stopped working.

Steps to reproduce

Insert mermaid diagram anywhere:

    gantt
      dateFormat  YYYY-MM-DD

      section Clickable
      Visit mermaidjs           :active, cl1, 2014-01-07, 3d
      Print arguments         :cl2, after cl1, 3d
      Print task              :cl3, after cl2, 3d

      click cl1 href "https://mermaidjs.github.io/"

Example Project

Not needed, can be viewed in this issue.

What is the current bug behavior?

Nothing happens on click.

What is the expected correct behavior?

URL should be changed.

Relevant logs and/or screenshots

N/A.

Output of checks

This bug happens on GitLab.com

Possible fixes

Looks like that this behaviour becomes default after this issue: #349755 (closed) I'm not sure about correct fix, but at least it could be workarounded by returning this feature flag with default value "true", so anyone who accept risks could change it to "false".

Edited by 🤖 GitLab Bot 🤖