summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-11-12 17:35:55 -0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-11-13 09:35:55 +0800
commit5481be0ac5e137a1127ca37975a6d319bf0ad940 (patch)
tree44e39f02682181b7cf4d593f3b5d18e2b4d857a8 /templates/repo/diff
parent47f40ccd5ee1b54019cec6b5d3bce6b8075a1384 (diff)
downloadgitea-5481be0ac5e137a1127ca37975a6d319bf0ad940.tar.gz
gitea-5481be0ac5e137a1127ca37975a6d319bf0ad940.zip
Fix issue link rendering in commit messages (#2897)
* Fix issue link rendering in commit messages * Update page.tmpl * No links for parens * remove comment
Diffstat (limited to 'templates/repo/diff')
-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 2736daa7f9..cb67b36f73 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 false .Commit.Message $.RepoLink $.Repository.ComposeMetas}}{{template "repo/commit_status" .CommitStatus}}</h3>
+ <h3>{{RenderCommitMessage .Commit.Message $.RepoLink $.Repository.ComposeMetas}}{{template "repo/commit_status" .CommitStatus}}</h3>
</div>
<div class="ui attached info segment {{if .Commit.Signature}} isSigned {{if .Verification.Verified }} isVerified {{end}}{{end}}">
{{if .Author}}