Commit 5cb9e7ee authored by randx's avatar randx

Fix emojii

parent 4f8a4aa4
...@@ -95,7 +95,7 @@ module Gitlab ...@@ -95,7 +95,7 @@ module Gitlab
text = text.gsub(EMOJI_PATTERN) do |match| text = text.gsub(EMOJI_PATTERN) do |match|
if valid_emoji?($2) if valid_emoji?($2)
helper.image_tag("#{$2}.png", size: "20x20", class: 'emoji', title: $1, alt: $1) image_tag("emoji/#{$2}.png", size: "20x20", class: 'emoji', title: $1, alt: $1)
else else
match match
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment