Sha256: 5f3cf0bcc1a872239a85e36e8da67c4f5431d93068e9f8fcc50bb7a961c9ae97

Contents?: true

Size: 200 Bytes

Versions: 9

Compression:

Stored size: 200 Bytes

Contents

require 'rails_emoji'

module Thredded
  module Filter
    module Emoji
      def filtered_content
        @filtered_content = RailsEmoji.render(super, size: 26).html_safe
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
thredded-0.0.10 lib/thredded/filter/emoji.rb
thredded-0.0.9 lib/thredded/filter/emoji.rb
thredded-0.0.8 lib/thredded/filter/emoji.rb
thredded-0.0.7 lib/thredded/filter/emoji.rb
thredded-0.0.6 lib/thredded/filter/emoji.rb
thredded-0.0.5 lib/thredded/filter/emoji.rb
thredded-0.0.4 lib/thredded/filter/emoji.rb
thredded-0.0.3 lib/thredded/filter/emoji.rb
thredded-0.0.1 lib/thredded/filter/emoji.rb