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

[BUG] - Markdown label doesn't accept dot "." anymore #6228

Open
kabaluyot opened this issue Jan 27, 2025 · 2 comments
Open

[BUG] - Markdown label doesn't accept dot "." anymore #6228

kabaluyot opened this issue Jan 27, 2025 · 2 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@kabaluyot
Copy link

Description

Labels wont accept dot "." anymore which is commonly used for numbering, links.

Steps to reproduce

When trying to assign a label say:

A --> |visit facebook.com| B

It detects it with ``Unsupported markdown: link` error. It worked before.

Image

Screenshots

No response

Code Sample


Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@kabaluyot kabaluyot added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Jan 27, 2025
@kabaluyot kabaluyot changed the title Markdown label doesn't accept dot "." anymore [BUG] - Markdown label doesn't accept dot "." anymore Jan 27, 2025
@BambioGaming
Copy link

Hi, @kabaluyot

Thanks for reporting this issue! To help the maintainers understand and debug the problem effectively, could you please provide additional details?

Provide a Code Sample

Could you share the exact Mermaid diagram code that is causing this issue? This will help in reproducing the bug.
For example, if you're seeing an error when using a label with a dot (.), something like this would be helpful:

graph TD;
  A --> |visit facebook.com| B

It works fine in the live editor. If the issue occurs in a different context (e.g., inside a subgraph or another diagram type), please provide the specific full code sample you're using.

Share More Screenshots

If possible, could you attach more screenshots of the issue?

One showing the Mermaid Live Editor or your environment where the error appears.
One showing the console errors (if any) from the browser developer tools (F12 → Console).

Confirm Your Environment

To help narrow down the cause, please provide:

Mermaid.js Version.
Browser and Version.

This information will make it easier for the maintainers to investigate and confirm if this is a bug or an intended change.

@StefanBrand
Copy link

related to #6099

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

3 participants