d2
d2 copied to clipboard
Certain characters breaking display
The following code using ascii 254 (■) doesn't display "bar".
legend: |md
■ foo bar
|
https://play.d2lang.com/?script=yklNT81LsVKoyU3hUlB4NG2BQlp-vkJSYhFXDRcgAAD__w%3D%3D&
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&
this is weird https://play.d2lang.com/?script=ejRtgZVCTW4Kl4LCo2kLFNLy8xWSEou4argeTVuIkFiILDG9Hy4xvR9Fohsh0Y0i0YaQaEORaEdItKNYvglh-SYUic0Iic0oEnsQEntQJPYiJPYiSzTshks07EZxVR9E4tH0PiRhQAAAAP__&
on windows, this is different results between firefox and edge.
edge
firefox
thank you @IlanCosman for raising the issue and thanks @bo-ku-ra as always for the thorough test cases