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

Non-emoji get bigger when jumbomoji (big emoji) enabled #1989

Closed
salixh5 opened this issue Nov 27, 2020 · 2 comments · Fixed by #1998
Closed

Non-emoji get bigger when jumbomoji (big emoji) enabled #1989

salixh5 opened this issue Nov 27, 2020 · 2 comments · Fixed by #1998
Assignees
Labels
bug Something isn't working

Comments

@salixh5
Copy link

salixh5 commented Nov 27, 2020

const emojifiedText = trim(text.replace(/:[\w\d_\-+]*:/g, replaceColons))

I'm no regex expert but I suspect this will recognize messages even when they don't only consist of emoji. See example:

スクリーンショット 2020-11-27 15 05 43

@Simon-Laux Simon-Laux added the bug Something isn't working label Nov 27, 2020
@Simon-Laux
Copy link
Member

not the right regex / code line but thanks for the bug report.

@Simon-Laux
Copy link
Member

Simon-Laux commented Dec 1, 2020

@jeifour which DeltaChat version are you using?

Edit: I reproduced it, looks like it sees Kana as emojis (is kana the right term? I have it from https://www.linguajunkie.com/japanese/japanese-alphabet)

@Simon-Laux Simon-Laux self-assigned this Dec 1, 2020
Simon-Laux added a commit that referenced this issue Dec 1, 2020
(turns out that the regex that contains all emojis is better than the
one that I found online)
fixes #1989
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants