Copying emojis from Github and pasting them into Unicode-aware applications that do not support (proprietary) short codes with colons is currently broken.
The alternative textual representation of an image of a Unicode emoji is of course the emoji itself! Therefore, line 90 should read something like this: "alt" => "#{code}", or "alt" => "#{emoji_code(name)}",, probably using unicode_aliases.first from gemoji.
Custom "emojis" should probably use `#{name} without colons.
My ruby-fu is sadly not up for the task, so I'm not providing a PR.
Copying emojis from Github and pasting them into Unicode-aware applications that do not support (proprietary) short codes with colons is currently broken.
In emoji_filter.rb:
The alternative textual representation of an image of a Unicode emoji is of course the emoji itself! Therefore, line 90 should read something like this:
"alt" => "#{code}",
or"alt" => "#{emoji_code(name)}",
, probably usingunicode_aliases.first
from gemoji.Custom "emojis" should probably use
`#{name}
without colons.My ruby-fu is sadly not up for the task, so I'm not providing a PR.