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

Embedded HTML does not render inside Markdown ("`) strings. #5349

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

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Mar 1, 2024

Description

mermaid-js/mermaid-live-editor#1411 (comment)

https://mermaid.live/ and https://marketplace.visualstudio.com/_apis/public/gallery/publishers/bierner/vsextensions/markdown-mermaid/1.22.0/vspackage are unable to render embedded HTML in Markdown strings, per https://mermaid.live/edit#pako:eNoVi0EOgjAQRa9C_pJwgsa44ga6c0wY2kGItDXDNMYQ7m55q7d4b4fPQeAwrfnrZ1Zr7j2lpmKy2YMwtKe0l1GvA-GJDlE08hLqtJ8lwWaJQnBVA-ubQOmoHRfLt1_ycKZFOpRPYJN-4ZdyhJt43eT4A6sNKwU and mjbvz/vscode-markdown-mermaid#246 (comment).

Steps to reproduce

Visit https://mermaid.live/edit#pako:eNoVi0EOgjAQRa9C_pJwgsa44ga6c0wY2kGItDXDNMYQ7m55q7d4b4fPQeAwrfnrZ1Zr7j2lpmKy2YMwtKe0l1GvA-GJDlE08hLqtJ8lwWaJQnBVA-ubQOmoHRfLt1_ycKZFOpRPYJN-4ZdyhJt43eT4A6sNKwU.

Screenshots

No response

Code Sample

flowchart TD
    test["`*test*<br>`"]
Loading

Setup

  1. Mermaid Version

    code-insiders-1.87.0-1708582258.el8.src

    Version: 1.87.0-insider
    Commit: a0b90ac5e04ea9a0733b68062253a469994e170e
    Date: 2024-02-22T05:47:39.416Z
    Electron: 27.3.2
    ElectronBuildId: 26836302
    Chromium: 118.0.5993.159
    Node.js: 18.17.1
    V8: 11.8.172.18-electron.0
    OS: Linux x64 6.7.6-1-default

  2. Browser Version

    https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/MozillaFirefox-123.0-1.1.x86_64.rpm

Suggested Solutions

Render it.

Additional Context

Previously reported to mermaid-js/mermaid-live-editor#1411 (comment) and mjbvz/vscode-markdown-mermaid#246 (comment), but per

@RokeJulianLockhart RokeJulianLockhart added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Mar 1, 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