mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 17:17:36 +02:00
1 parent
16034bb613
commit
d4f28fd4ad
2 files changed
+2
-2
No files matched your search
@@ -484,7 +484,7 @@ func createCustomEmoji(alias, class string) *html.Node {
|
||||
}
|
||||
if class != "" {
|
||||
img.Attr = append(img.Attr, html.Attribute{Key: "alt", Val: fmt.Sprintf(`:%s:`, alias)})
|
||||
img.Attr = append(img.Attr, html.Attribute{Key: "src", Val: fmt.Sprintf(`%s/img/emoji/%s.png`, setting.StaticURLPrefix, alias)})
|
||||
img.Attr = append(img.Attr, html.Attribute{Key: "src", Val: fmt.Sprintf(`%s/assets/img/emoji/%s.png`, setting.StaticURLPrefix, alias)})
|
||||
}
|
||||
|
||||
span.AppendChild(img)
|
||||
|
||||
Reference in new issue
Block a user