-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Block ™️, ©️ from emojification #1234
Conversation
Is there a better option? Such as using a light/white version of the EmojiOne images? |
Emojione doesn't seem to provide that from what I can tell. This is also an issue for emoji such as ✔️ ➗ 💲 ➖ ✖️ but those don't have quite as widespread font support for the Unicode versions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem like a good solution for this problem. What will happen is instead of returning an intended look it will return the string ":tm:" etc. which will be perceived as an error.
Really? In my browser, the content of the |
The Unicode solution for this is to use the Emoji Variation Selector U+FE0E to select text representations for glyphs; Apple etc will insert these for you whenever you insert a text version of an emoji, however EmojiOne doesn't respect them (joypixels/emojione#301, joypixels/emojione#415). Furthermore, EmojiOne defaults to emoji representations for all characters, including a number of characters which should (by the Emoji spec recommendations for web pages) default to text (for example, ™, ®, ©; again see joypixels/emojione#415). So this PR is actually a workaround for EmojiOne's bug and a good approach IMO; the right-hand column of this chart provides other characters which predate emoji or otherwise might be likely to have text representations. Of course, it would be up to us as to which (if any) of these we would implement. (See also #349, which is the Mastodon version of this Issue before we realized it was on EmojiOne's side.) I agree that using the |
This is something of a separate issue, but with respect to dark emoji not being visible, see also #317, especially this comment where I suggest using EmojiOne's Project B&W emoji for otherwise-unreadable emoji forms. Mastodon already uses SVGs for its emoji, so the changes that would need to take place would be as follows:
|
It looks like emojione 3.0 fixes this (joypixels/emojione#415), but we can’t use it until emojione-picker updates its dependency. |
I agree that we should let the supporting lib fix this problem and benefit from it when they do. |
Limit statuses subquery in Account.triadic_closures
Fixes mastodon#1234 by adding language to the preferences page. It's only in English, unfortunately.
Forbid ™ ® © so they don't turn into black-on-black emoji.
I haven't figured out the docker-compose stuff yet so these changes haven't been tested yet. If someone else could make sure this runs that would be nice.