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

PRs/Issues with Mermaid markdown causes Jasper to use the wrong webpage URL #283

Open
dinofx opened this issue Feb 27, 2023 · 0 comments
Open

Comments

@dinofx
Copy link

dinofx commented Feb 27, 2023

Last year GitHub added mermaid markdown support in issues, PRs, etc. Github's implementation uses an iframe to load the 3rd-party rendering code that displays the diagram.

This seems to confuse Jasper. When display a PR with URL like:

https://{enterprise hostname}/{org}/{repo}/pull/55

Jasper will instead display an address like:

https://{enterprise hostname}/viewscreen/markdown/mermaid?color_mode=light#{fragment}

Viewing this Issue in Jasper should reproduce the problem (I assume it's not specific to GH:Enterprise):

  graph TD;
      A[Example diagram]-->B[to reproduce problem];
Loading
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