diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-01-30 18:05:20 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-01-30 18:05:20 -0500 |
commit | 37fcc8daf2d7d86e4d0f8baaeab0b2e11e5ec8d0 (patch) | |
tree | 701088978b660c46cdb463e0f191aed8adb01195 /templates/repo/commits_table.tmpl | |
parent | 9803f84c883c372cca9ed5859cbf8f930af63d51 (diff) | |
download | gitea-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.tmpl | 2 |
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}} |