We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a97f698 commit 5a39c40Copy full SHA for 5a39c40
src/main/scala/gitbucket/emoji/EmojiUtil.scala
@@ -899,7 +899,7 @@ object EmojiUtil {
899
emojiPattern replaceAllIn(text, e => {
900
val emoji = e.group(0) replaceAll(":", "")
901
if (!emojis.contains(emoji)) s":$emoji:"
902
- else s"""<img src="${context.path}/plugin-assets/emoji/${emoji}.png" alt=":$emoji:" class="emoji" />"""
+ else s"""<img src="${context.baseUrl}/plugin-assets/emoji/${emoji}.png" alt=":$emoji:" class="emoji" />"""
903
})
904
905
}
0 commit comments