From 77ff183d854b0ab2219023b177a1dee678259e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Schr=C3=B6der?= Date: Wed, 2 Jul 2014 22:17:35 -0400 Subject: [PATCH] fix formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)