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

[FIX] Emoji detection at line breaks #13447

Merged
merged 6 commits into from
Feb 14, 2019
Merged

[FIX] Emoji detection at line breaks #13447

merged 6 commits into from
Feb 14, 2019

Conversation

savish28
Copy link
Contributor

Closes #13059

Initially emojis at linebreaks were not detected.
rocketchat issue 13059 before

This PR solves the issue and now it looks like:
rocketchat issue 13059 after

Input given in both the cases:
:D foo :D bar :D baz :D quux :D
:D this :D is :D a simple :D test :D
without :D leading :D or :D trailing :D emote
:D hello :D world :D

(contains no trailing or leading whitespace)

@sampaiodiego sampaiodiego changed the title [FIX] emoji detection at line breaks #13059 [FIX] Emoji detection at line breaks Feb 14, 2019
@sampaiodiego sampaiodiego merged commit 7f60daf into RocketChat:develop Feb 14, 2019
@rodrigok rodrigok mentioned this pull request Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emote detection fails around linebreaks
3 participants