diff --git a/README.md b/README.md index a4bf442d..3bb26e1d 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ See the [Emoji cheat sheet](http://www.emoji-cheat-sheet.com) for more examples. ```ruby module EmojiHelper - def emojify(content) + def emojify(content) h(content).to_str.gsub(/:([\w+-]+):/) do |match| if emoji = Emoji.find_by_alias($1) { nil } %(#$1)