FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Inconsistent display of <!--- and --->

Open davidsneighbour opened this issue 4 years ago • 3 comments

Using <!--- and ---> it appears that the closing version is displayed as a wide "dashed arrow" (ligature) and the opening version is displayed as is with an opening bracket, exclamation mark and three dashes. Note the three (3) dashes instead of normally 2 dashes. I am not sure if this is a bug, but I would expect some form of consistency in both.

20211219-21:38:56_Selection_001

davidsneighbour avatar Dec 19 '21 14:12 davidsneighbour

Thanks! This could be fixed

tonsky avatar Dec 19 '21 18:12 tonsky

This is also an issue with empty HTML comments

E.g in our Vue test snapshots we have: <!--v-if--> and <!---->. The first uses the <!-- ligature but the second is <! and the infinite arrow ligature ---->

Screenshot 2021-12-20 at 11 53 56

wopian avatar Dec 20 '21 11:12 wopian

Thanks! I’ll just include <!- into infinite arrows system so all cases should start to work

tonsky avatar Dec 20 '21 12:12 tonsky