We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
use stringify and parse 1 trans to 1️⃣
The text was updated successfully, but these errors were encountered:
i have the same bug. Have you found a solution?
Sorry, something went wrong.
const stringify = (text) => { let result = '' const arr = _.toArray(text); _.each(arr, (value, key) => { // add this line if (value.length==1) return result += value; const index = _.findIndex(emojiData, function (o) { const emoji = String.fromCodePoint(...o.unified.split('-').map(u => '0x' + u)); return emoji.codePointAt() == value.codePointAt(); }); if (index > -1) { result += '[' + emojiData[index]['name'] + ']'; } else { result += value; } }); return result; };
@romreed stringify.js
No branches or pull requests
use stringify and parse
1 trans to 1️⃣
The text was updated successfully, but these errors were encountered: