templates: fix commit message render issue #828

This commit is contained in:
Unknwon 2015-01-31 15:31:09 -05:00
parent 569fcc30f3
commit faddaff90d

View File

@ -14,7 +14,7 @@
</span> </span>
<span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow"> <span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow">
<strong>{{ShortSha .LastCommit.Id.String}}</strong></a> <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>
<span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span> <span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span>
</th> </th>