aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJames Anderson <james@jamesa.me>2018-10-29 17:00:35 -0400
committertechknowlogick <hello@techknowlogick.com>2018-10-29 17:00:34 -0400
commit1ceae0756045c2379b98020ef32a8d37de7859ac (patch)
treedf7afb2bc4e299d5bb6b0ce1ec010e9d964ed6f1 /templates
parentd4e62787644bf08e5044b7aeb36c0080cd892fef (diff)
downloadgitea-1ceae0756045c2379b98020ef32a8d37de7859ac.tar.gz
gitea-1ceae0756045c2379b98020ef32a8d37de7859ac.zip
Fix emojis not showing in commit messages (#5168)
Fixes #5150 Signed-off-by: James Anderson <james@jamesa.me>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/diff/page.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl
index ba0cf348d4..cc8811848e 100644
--- a/templates/repo/diff/page.tmpl
+++ b/templates/repo/diff/page.tmpl
@@ -9,7 +9,7 @@
<a class="ui floated right blue tiny button" href="{{EscapePound .SourcePath}}">
{{.i18n.Tr "repo.diff.browse_source"}}
</a>
- <h3>{{RenderCommitMessage .Commit.Message $.RepoLink $.Repository.ComposeMetas}}{{template "repo/commit_status" .CommitStatus}}</h3>
+ <h3 class="has-emoji">{{RenderCommitMessage .Commit.Message $.RepoLink $.Repository.ComposeMetas}}{{template "repo/commit_status" .CommitStatus}}</h3>
{{if IsMultilineCommitMessage .Commit.Message}}
<pre class="commit-body">{{RenderCommitBody .Commit.Message $.RepoLink $.Repository.ComposeMetas}}</pre>
{{end}}