-
Notifications
You must be signed in to change notification settings - Fork 84
Prevent emoji being formatted #685
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
Prevent emoji being formatted #685
Conversation
src/rangeUtils.ts
Outdated
default: | ||
return 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the default 1
? Can't we make the emoji -1
and keep the rest as is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No strong reason, just trying to avoid using negative value. Updated.
Hmm, the test fails locally on me too |
@bernhardoj Are the tests failing on |
Oh my bad, the playwright isn't installed yet. It passes on me locally, both main and this PR |
@luacmartins can you please re-trigger the tests |
Running again |
Details
When emoji is wrapped with a markdown, the emoji is being formatted and we don't want that.
Related Issues
$ Expensify/App#62029
Manual Tests
_😄_
Linked PRs