]> source.dussan.org Git - gitea.git/commitdiff
templates: fix commit message render issue #828
authorUnknwon <joe2010xtmf@163.com>
Sat, 31 Jan 2015 20:31:09 +0000 (15:31 -0500)
committerUnknwon <joe2010xtmf@163.com>
Sat, 31 Jan 2015 20:31:09 +0000 (15:31 -0500)
templates/repo/view_list.tmpl

index 7bb9ffef7fe8de9262c649fdcdf39396cc7501b8..06536b4728f8888f691a2a304b438ce6c223550d 100644 (file)
@@ -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>