diff options
author | techknowlogick <techknowlogick@gitea.io> | 2020-09-11 00:56:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 00:56:12 -0400 |
commit | 37572551d76d69ea89c3ea7a3c0298e89a5cccd8 (patch) | |
tree | 7e864a77b36bb704299075365f1c703cafc5ed75 | |
parent | 0ee823be0b1d4a15990bf9af3e51ae1f041114b2 (diff) | |
download | gitea-37572551d76d69ea89c3ea7a3c0298e89a5cccd8.tar.gz gitea-37572551d76d69ea89c3ea7a3c0298e89a5cccd8.zip |
Remove double escape on labels addition in comments (#12809) (#12810)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-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 7611e390c7..21d1f215c1 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -163,7 +163,7 @@ </a> <span class="text grey"> <a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> - {{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmoji) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmoji) $createdStr | Safe}}{{end}} + {{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|RenderEmoji) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|RenderEmoji) $createdStr | Safe}}{{end}} </span> </div> {{end}} |