Commit 5cb9e7eedc24c418bbb3bce2f48a7c585f9cb439
1 parent
4f8a4aa4
Exists in
master
and in
4 other branches
Fix emojii
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/markdown.rb
| ... | ... | @@ -95,7 +95,7 @@ module Gitlab |
| 95 | 95 | |
| 96 | 96 | text = text.gsub(EMOJI_PATTERN) do |match| |
| 97 | 97 | if valid_emoji?($2) |
| 98 | - helper.image_tag("#{$2}.png", size: "20x20", class: 'emoji', title: $1, alt: $1) | |
| 98 | + image_tag("emoji/#{$2}.png", size: "20x20", class: 'emoji', title: $1, alt: $1) | |
| 99 | 99 | else |
| 100 | 100 | match |
| 101 | 101 | end | ... | ... |