Browse files

fix formatting

  • Loading branch information...
1 parent 06c5d09 commit 77ff183d854b0ab2219023b177a1dee678259e9c @phoet phoet committed Jul 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 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 }
%(<img alt="#$1" src="#{asset_path("emoji/#{emoji.image_filename}")}" style="vertical-align:middle" width="20" height="20" />)

0 comments on commit 77ff183

Please sign in to comment.