diff options
author | silverwind <me@silverwind.io> | 2020-08-24 03:44:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 21:44:53 -0400 |
commit | ee047312a1a3238a8504200f7ded8536ebc838e3 (patch) | |
tree | a4e79586f0468725bcf66a083e44c84f9a39ee5b /templates/repo/issue/view_content | |
parent | 26bf4c51fb900b8a31cfb6d17095515c118a68a1 (diff) | |
download | gitea-ee047312a1a3238a8504200f7ded8536ebc838e3.tar.gz gitea-ee047312a1a3238a8504200f7ded8536ebc838e3.zip |
Fix emoji replacements, make emoji images consistent (#12567)
- Fix emoji not being replaced in issue title change text
- Make the image attributes consistent, add alt, remove align
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/issue/view_content')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 850c5b9157..39468ee6b2 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -218,7 +218,7 @@ </a> <span class="text grey"> <a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> - {{$.i18n.Tr "repo.issues.change_title_at" (.OldTitle|Escape) (.NewTitle|Escape) $createdStr | Safe}} + {{$.i18n.Tr "repo.issues.change_title_at" (.OldTitle|RenderEmoji) (.NewTitle|RenderEmoji) $createdStr | Safe}} </span> </div> {{else if eq .Type 11}} |