diff options
author | silverwind <me@silverwind.io> | 2021-05-07 17:34:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 17:34:33 +0200 |
commit | d4f28fd4ad37398d0ef953866943972a1147dc55 (patch) | |
tree | 1d8b2f28d02abedf49fb8bc5eb8cb8dea5312e5c /modules/markup/html.go | |
parent | 16034bb61332196a40c01be8bb3fd2d0b48198cf (diff) | |
download | gitea-d4f28fd4ad37398d0ef953866943972a1147dc55.tar.gz gitea-d4f28fd4ad37398d0ef953866943972a1147dc55.zip |
Fix URL of gitea emoji (#15770)
Fixes regression from #15219
Diffstat (limited to 'modules/markup/html.go')
-rw-r--r-- | modules/markup/html.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go index 7c4c10ee22..4d1b49e241 100644 --- a/modules/markup/html.go +++ b/modules/markup/html.go @@ -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) |