aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-01-31 15:31:09 -0500
committerUnknwon <joe2010xtmf@163.com>2015-01-31 15:31:09 -0500
commitfaddaff90d4710f763ccc76c467ba6ff04472c38 (patch)
treefd856ea4d231d851f636f40dfe2d21879a5388c3 /templates/repo/view_list.tmpl
parent569fcc30f33924a515d0b1df38a6461d7c6770ff (diff)
downloadgitea-faddaff90d4710f763ccc76c467ba6ff04472c38.tar.gz
gitea-faddaff90d4710f763ccc76c467ba6ff04472c38.zip
templates: fix commit message render issue #828
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r--templates/repo/view_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 7bb9ffef7f..06536b4728 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -14,7 +14,7 @@
</span>
<span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow">
<strong>{{ShortSha .LastCommit.Id.String}}</strong></a>
- <span class="text-truncate">{{Str2html .LastCommit.Summary}}</span>
+ <span class="text-truncate">{{RenderCommitMessage .LastCommit.Summary .RepoLink}}</span>
</span>
<span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span>
</th>