Skip to content

Conversation

@adamdavidcole
Copy link

Fix for #238: Emoji IDNs should be hyperlinked

This solution to accepting emoji in URLs might be too naive, but thought it was worth suggesting.

Emoji are becoming more popular in URLs. For instance, emojipedia accepts emoji based URLs: http://📙.la/🧛🏻‍♂️.

This adds the emoji unicode range to the alphaCharsAndMarksStr. I think most end users don't see a difference between letters and emoji, but maybe it belongs in a different class.

Demo:
Screen Shot 2019-06-06 at 6 27 41 PM

@gregjacobs
Copy link
Owner

Hey @adamdavidcole, thanks so much for this PR. Sorry for such a delay in merging. I've basically had no time to even launch my browser and point it to GitHub :/

I think this approach is good though, and it does seem like more and more emojis are appearing in URLs. Thanks for the contribution!

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.

2 participants