Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Entity parsing off by emoji #3

Open
33mhz opened this issue Feb 1, 2017 · 5 comments
Open

Entity parsing off by emoji #3

33mhz opened this issue Feb 1, 2017 · 5 comments
Labels

Comments

@33mhz
Copy link
Owner

33mhz commented Feb 1, 2017

Hashtags and mentions (and links?) are off when following emoji.

@schmidt-fu
Copy link

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.

@33mhz
Copy link
Owner Author

33mhz commented Sep 5, 2017

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.

@schmidt-fu
Copy link

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.

@33mhz
Copy link
Owner Author

33mhz commented Sep 6, 2017

E.g.
screenshot_20170905-175915

That follows. I've updated the code, but am having android studio issues. :)

@33mhz
Copy link
Owner Author

33mhz commented Sep 6, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants