Fix URL of gitea emoji (#15770)

Fixes regression from #15219
This commit is contained in:
silverwind authored and GitHub committed 2021-05-07 17:34:33 +02:00
1 parent 16034bb613
commit d4f28fd4ad
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ func TestRender_emoji(t *testing.T) {
//Text that should be turned into or recognized as emoji
test(
":gitea:",
`<p><span class="emoji" aria-label="gitea"><img alt=":gitea:" src="`+setting.StaticURLPrefix+`/img/emoji/gitea.png"/></span></p>`)
`<p><span class="emoji" aria-label="gitea"><img alt=":gitea:" src="`+setting.StaticURLPrefix+`/assets/img/emoji/gitea.png"/></span></p>`)
test(
"Some text with 😄 in the middle",