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

Prevent over-escaping in valid emoji shorthand #101

Merged
merged 6 commits into from
Dec 27, 2019

Conversation

yhatt
Copy link
Owner

@yhatt yhatt commented Dec 26, 2019

Resolves #98.

<Escape> component and <i> intrinsic HTML tag will detect valid emoji shorthands (includes custom emoji) and leave underscore to render emoji correctly.

<Blocks>
  <Section>
    <p>_foo:arrow_down:bar_</p>
    <p><i>foo:arrow_down:bar</i></p>
    <p><Escape>_foo:arrow_down:bar_</Escape></p>
  </Section>
</Blocks>

➡️

@yhatt yhatt changed the title Prevent over-escaping in valid emoji shorthand by <Escape> component Prevent over-escaping in valid emoji shorthand Dec 26, 2019
@yhatt yhatt merged commit 6a2f72e into master Dec 27, 2019
@yhatt yhatt deleted the prevent-emoji-over-escaping branch December 27, 2019 01:54
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

Successfully merging this pull request may close these issues.

<Escape> component will over-escape emoji shorthand
1 participant