-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Emojify break link #7913
Comments
Because RFC 3492 says URLs with emoji are valid, there are probably two ways we could handle this:
1 sounds better to me, because it would be easier. I'm going to start working on 1, but if any contributors have other ideas let me know. EDIT: never mind. I'm unsure how config loading works in this project, and I'm not sure where to ask. But either of those options would work. |
This was resolved in v0.120.0 with #11593 |
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. |
Hey,
I've activated emojify (via
enableEmoji = true
in my config.toml) today on my site. It works great, but it breaks some of my links when there is an emoji like part in it.In my case this is a sharepoint link created from office 365, so I can not change the link.
So the link look like
https://my.sharepoint.com/:x:/g/personal/namehere/KKFASDAskjlsaASDlkj
. The problem is the:x:
. Hugo make a ❌ out of it and so the link breaks. I have a normal markdown link like[test link](https://my.sharepoint.com/:x:/g/personal/namehere/KKfRIQdgXJJPrFFUwAAsPMcBpGYDTO)
The only workaround would be a shortlink service, but the site should also work without internet access, so it is not an option for me.
Expected behavior
Hugo should preserve emoji like syntax in markdown links or links in general.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
The text was updated successfully, but these errors were encountered: