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/view_list.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/view_list.tmpl')
-rw-r--r-- | templates/repo/view_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index fed91effa7..7bb9ffef7f 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -53,7 +53,7 @@ <a rel="nofollow" class="label label-green" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.Id}} ">{{SubStr $commit.Id.String 0 10}} </a> </td> <td class="message"> - <span class="text-truncate">{{Str2html $commit.Summary}}</span> + <span class="text-truncate">{{RenderCommitMessage $commit.Summary $.RepoLink}}</span> </td> <td class="age">{{TimeSince $commit.Committer.When $.Lang}}</td> </tr> |