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

[bug] Emoji not parsed on certain text patterns #2198

Closed
revelt opened this issue Jun 11, 2016 · 4 comments
Closed

[bug] Emoji not parsed on certain text patterns #2198

revelt opened this issue Jun 11, 2016 · 4 comments

Comments

@revelt
Copy link
Contributor

revelt commented Jun 11, 2016

Hi all,

There is a bug in the emoji rendering, probably related to #1892. My post content with emoji is sometimes parsed, sometimes not, and I distilled the following:

  • Emoji are not parsed when the colon character is being present
  • If the text after comma is short enough, emoji renders fine, no matter is there a colon or not

See this:
hugo-emoji-bug

Try copy-pasting into your sites to test:

Aaaaaaaaaa: aaaaaaaaaa aaaaaaaaaa aaaaaaaaaa.

:rocket:

In practice, my blog articles contain some colon characters and emoji are not being parsed on the whole article. By the way, I'm using the latest Hugo v0.16 from Brew.

@memiks
Copy link

memiks commented Jul 1, 2016

Hello,

Ok but I try my text with master source code without success...
After the merge of your commit.

You can test if you want.

Best regards,
Memiks.

@bep
Copy link
Member

bep commented Jul 1, 2016

I did: aa66478

Are you saying there are other failing test cases?

@revelt
Copy link
Contributor Author

revelt commented Jul 1, 2016

I'd help testing, but I'm not good at compiling. I'm still at 0.16 first release...

tychoish pushed a commit to tychoish/hugo that referenced this issue Aug 13, 2017
@github-actions
Copy link

github-actions bot commented Apr 5, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants