lib/simple_format/emoji.rb
def replace_emoji_with_images(string)
      return string unless string
      html ||= string.dup
      html = replace_name_with_images(html)
      html = replace_unicode_with_images(html.to_str)
      return html
    end
def replace_emoji_with_images(string)
      return string unless string
      html ||= string.dup
      html = replace_name_with_images(html)
      html = replace_unicode_with_images(html.to_str)
      return html
    end
通过（名称、字符）替换表情