Commit 5cb9e7eedc24c418bbb3bce2f48a7c585f9cb439

Authored by randx
1 parent 4f8a4aa4

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,7 +95,7 @@ module Gitlab
95 95
96 text = text.gsub(EMOJI_PATTERN) do |match| 96 text = text.gsub(EMOJI_PATTERN) do |match|
97 if valid_emoji?($2) 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 else 99 else
100 match 100 match
101 end 101 end