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

Cannot use "u" as an alias name in ER Diagram #5713

Open
danivideda opened this issue Aug 14, 2024 · 0 comments
Open

Cannot use "u" as an alias name in ER Diagram #5713

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

Comments

@danivideda
Copy link

Description

When using "u" as an alias in ER Diagram, it gives me an error.

erDiagram
  u[User] {
  string name
}

When this issue is fixed, this should render correctly on GitHub markdown too:

erDiagram
  u[User] {
  string name
}
Loading

Steps to reproduce

  1. Open any mermaid supported editor (I use Obsidian, but the error could be seen on Github's markdown too)
  2. Copy this code
erDiagram
  u[User] {
  string name
}
  1. It will give error as shown in the screenshot below.
  2. If you change the alias other than "u" (i.e "p", "q", "us", "ub", etc.), it will work as intended without any errors

Screenshots

image

Code Sample

No response

Setup

  • Obsidian v1.5.12

Suggested Solutions

No response

Additional Context

No response

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