Entity parsing off by emoji
Opened this issue · 5 comments
Hashtags and mentions (and links?) are off when following emoji.
I dunno if this belongs here, but I've seen mentions and links off in a post without any other non-text entities:
https://posts.pnut.io/174625
Happened in Timeline and Thread view.
This is the same problem; I'm not sure what it is, but there is a whitespace character before anything else in that post, that is being read wrongly.
I see. I get this extra whitespace when I reply to my own post.
I guess it's left over from the app removing my own username (but not the trailing space) from the start of the post.
Inspected the text, and 1) somehow it is putting an extra space at the beginning, without apparently showing it in your reply post, and 2) it mis-reads string lengths whenever there is space at the beginning. It's no special character. Should be easy to track down where the space is being added and remove it. Then the weird handling of it... is part of fixing this bug.