Buran icon indicating copy to clipboard operation
Buran copied to clipboard

Link Rendering issue on wrapped lines with Emoji

Open acidus99 opened this issue 3 years ago • 1 comments
trafficstars

Noticed this rendering bug when looking at antenna yesterday.

The 2nd link ("2022-05-17 Curiouser and Curiouser: More Chilly Weather improvements") from the top wraps onto 2 lines, but has a weird, extra underline in between the 2 lines. Strangely, this does no appear to effect other links that wrap onto 2 lines (e.g. the link for "2022-05-16 Idiomdrottning: When the EU wanted to own all computers" ).

IMG_4672

The only thing different about that line is the emoji 🤨.

Scrolling down I see 2 more Antenna posts where an emoji is used on a line that wraps and you get the same effect:

image

It looks like the emoji on the SpellBinding post also seems to "push down" the underline, but the bio waste symbol in StackSmith's post does not. Perhaps that's a different unicode character? I suspect if the SpellBinding line was longer we would see a problem with wrapping.

Here is the gemtext of Antenna right now so you can better test this.

gemtext.gmi.txt

acidus99 avatar May 17 '22 12:05 acidus99

This bug seems to be with text rendering libraries themselves, and I haven't been able to find a good workaround. I'll keep the issue open for now just in case somebody else sees this and has a working solution.

Corewala avatar May 22 '22 16:05 Corewala