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

Certain characters breaking display #1811

Closed
IlanCosman opened this issue Jan 22, 2024 · 2 comments · Fixed by #2100
Closed

Certain characters breaking display #1811

IlanCosman opened this issue Jan 22, 2024 · 2 comments · Fixed by #2100

Comments

@IlanCosman
Copy link

IlanCosman commented Jan 22, 2024

The following code using ascii 254 (■) doesn't display "bar".

legend: |md
  ■ foo bar
|

https://play.d2lang.com/?script=yklNT81LsVKoyU3hUlB4NG2BQlp-vkJSYhFXDRcgAAD__w%3D%3D&

image

If we replace the square with a traditional character like "a", it works.

legend: |md
  a foo bar
|

https://play.d2lang.com/?script=yklNT81LsVKoyU3hUlBIVEjLz1dISiziquECBAAA__8%3D&

image

@cyborg-ts cyborg-ts added this to D2 Jan 22, 2024
@IlanCosman IlanCosman changed the title Certain non-ascii characters breaking display Certain characters breaking display Jan 22, 2024
@bo-ku-ra
Copy link
Contributor

bo-ku-ra commented Jan 22, 2024

@alixander
Copy link
Collaborator

thank you @IlanCosman for raising the issue and thanks @bo-ku-ra as always for the thorough test cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants