Class: HTML::Pipeline::RevealCKEmojiFilter
- Inherits:
-
EmojiFilter
- Object
- EmojiFilter
- HTML::Pipeline::RevealCKEmojiFilter
- Defined in:
- lib/html/pipeline/reveal_ck_emoji_filter.rb
Overview
Very similar to EmojiFilter, but it removes the inline width/height/align attributes so that reveal-ck supplied CSS takes effect.
Instance Method Summary collapse
Instance Method Details
#emoji_image_tag(name) ⇒ Object
7 8 9 |
# File 'lib/html/pipeline/reveal_ck_emoji_filter.rb', line 7 def emoji_image_tag(name) "<img class='emoji' alt=':#{name}:' src='#{emoji_url(name)}' />" end |