Browse Source

templates: fix commit message render issue #828

Unknwon 10 years ago
parent
commit
faddaff90d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/repo/view_list.tmpl

+ 1 - 1
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>