Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexHtmlify changes non-emoji text #23

Open
jringbox opened this issue Aug 28, 2020 · 2 comments
Open

hexHtmlify changes non-emoji text #23

jringbox opened this issue Aug 28, 2020 · 2 comments

Comments

@jringbox
Copy link

hexHtmlify appears to change more than it should. I have a message with "back in town @ 4:30-5:00 pm." in the text and it replace it with "back in town @ 4👨0-5😮0 pm." which is completely incorrect for what I want.

To be honest, I have text where I'm just changing unicode characters to hex html. Is it possible to update the method call to pass in an option to only replace unicode characters? Maybe even have the option configurable to whatever representations of emoji your trying to replace? If I can do that then this problem goes way.

@PrimosK
Copy link

PrimosK commented Jul 7, 2021

+1

It would be nice to have some kind of a flag which would dictate whether "emoticons" should be ignored when htmlify-ing a text.

So something like:
EmojiUtils.htmlify(String text, boolean ignoreEmoticons)

@PrimosK
Copy link

PrimosK commented Aug 17, 2021

I've just noticed that there is already a pull request for this one:
#21

What are plans to merge this one?

Also - is this repository still being maintained?

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

No branches or pull requests

2 participants