You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using Twemoji to help with supporting characters in user-created puzzles in my puzzle site SudokuPad. But users can be very creative in adding characters, and make frequent use of unicode arrows not currently supported in Twemoji, which often don't work in mobile browsers. Is there a way for me to provide additional characters myself in the config somehow when starting the Twemojji parser?
The text was updated successfully, but these errors were encountered:
Currently, this isn't supported. Supporting this would be complicated and open up potential attack vectors: for example, we recognize emoji off of a giant regex, so providing additional characters would mean sanitizing and parsing a user-supplied regex.
I'll leave this issue open for discussion in case others also want this feature, but for now we won't be adding support for this.
Currently my workaround revolves around sanitizing all arrows to the most basic form that seems to be widely supported, but sadly often is quite ugly (with blue squares as background):
Hi, I am using Twemoji to help with supporting characters in user-created puzzles in my puzzle site SudokuPad. But users can be very creative in adding characters, and make frequent use of unicode arrows not currently supported in Twemoji, which often don't work in mobile browsers. Is there a way for me to provide additional characters myself in the config somehow when starting the Twemojji parser?
The text was updated successfully, but these errors were encountered: