Skip to content

Code editor: accented characters have the wrong color #1657

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

Open
gy-mate opened this issue Mar 27, 2025 · 0 comments
Open

Code editor: accented characters have the wrong color #1657

gy-mate opened this issue Mar 27, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@gy-mate
Copy link

gy-mate commented Mar 27, 2025

Describe the bug

Accented characters (and numerals right after them) have a different font color than non-accented ones in the code editor (except in the frontmatter).

I think that this has been introduced by #1633.

To Reproduce

Link to Live Editor: https://mermaid.live/edit#pako:eNo9kDtuAyEQhq9iTb221vuGNm5TJVVEg4H1PsECVolj-RA5gssUKSxLLqx0aO8VvE4C4vEP3_yDZg9McQEY5vM5kba2ncAzoTdiPLmju1JjeIncpSVyAogsO_XKKqrt7Hl10zM_upZx4-HxZNyRU3OP8tY0suGt-3Ln8cN9uqP3vG69_HYX5Lezn1f_ckFDHEeobaShxXgqDCvuDqxtzJqZpq34mhEJAfRC97Tm_r_7G0LAVqIXBLC_clHSobMEiDx4lA5WPe0kA2z1IALQathUgEvaGa-GLadWrGq60bT_j26pfFGq_0vZ6Fup33QhudAPapAWcLTMUQCC11bpx3v_pjZODoD38OaZPFxEKA1TlOVZlPgjgB3guIgWISoSVIRhkiTLPD0E8D4VDRdpmBVZnod-pVmWxocfmCeWXw

Expected behavior

Accented characters have the same font color than non-accented ones.

Screenshots

Image Image

Desktop

  • OS: macOS 15.3.2
  • Browser: Safari 18.3.1
  • Mermaid 11.5.0
@gy-mate gy-mate added the bug Something isn't working label Mar 27, 2025
@sidharthv96 sidharthv96 added the good first issue Good for newcomers label May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants