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

wdtEmojiBundle.emoji.replace_unified() not working correctly in "emoji.min.js" #52

Open
xxdocobxx opened this issue Aug 31, 2018 · 1 comment

Comments

@xxdocobxx
Copy link

xxdocobxx commented Aug 31, 2018

wdtEmojiBundle.emoji.replace_unified() not correctly replace emoji with variation modifiers in "emoji.min.js" but is working correctly in "emoji.js".

Probably cause by the minifier incorrectly converting the unicode characters on this line:
self.rx_unified = new RegExp('(' + a.join('|') + ')(\uD83C[\uDFFB-\uDFFF])?', "g");

@Pela647
Copy link

Pela647 commented Nov 11, 2018

Is anyone still having this issue ?

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

No branches or pull requests

2 participants