summaryrefslogtreecommitdiffstats
path: root/templates/repo/commits_table.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/commits_table.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/commits_table.tmpl')
-rw-r--r--templates/repo/commits_table.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index bd3777b46e..4c8141ab17 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -32,7 +32,7 @@
{{end}}
</td>
<td class="sha"><a rel="nofollow" class="label label-green" href="{{AppSubUrl}}/{{$username}}/{{$reponame}}/commit/{{.Id}} ">{{SubStr .Id.String 0 10}} </a></td>
- <td class="message"><span class="text-truncate">{{Str2html .Summary}}</span></td>
+ <td class="message"><span class="text-truncate">{{RenderCommitMessage .Summary $.RepoLink}}</span></td>
<td class="date">{{TimeSince .Author.When $.Lang}}</td>
</tr>
{{end}}