summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-01-30 18:05:20 -0500
committerUnknwon <joe2010xtmf@163.com>2015-01-30 18:05:20 -0500
commit37fcc8daf2d7d86e4d0f8baaeab0b2e11e5ec8d0 (patch)
tree701088978b660c46cdb463e0f191aed8adb01195 /templates/repo/diff.tmpl
parent9803f84c883c372cca9ed5859cbf8f930af63d51 (diff)
downloadgitea-37fcc8daf2d7d86e4d0f8baaeab0b2e11e5ec8d0.tar.gz
gitea-37fcc8daf2d7d86e4d0f8baaeab0b2e11e5ec8d0.zip
modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
Diffstat (limited to 'templates/repo/diff.tmpl')
-rw-r--r--templates/repo/diff.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl
index 225175e8d1..8045351600 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -17,7 +17,7 @@
<div class="panel panel-info panel-radius diff-head-box">
<div class="panel-header">
<a class="pull-right btn btn-blue btn-header btn-medium btn-radius" rel="nofollow" href="{{.SourcePath}}">{{.i18n.Tr "repo.diff.browse_source"}}</a>
- <h4 class="commit-message">{{Str2html .Commit.Message}}</h4>
+ <h4 class="commit-message">{{RenderCommitMessage .Commit.Message $.RepoLink}}</h4>
</div>
<div class="panel-body">
<span class="pull-right">