aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/view_list.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-12-10 22:23:56 -0500
committerUnknwon <u@gogs.io>2018-12-10 22:23:56 -0500
commitdb3f0048d80f4f7aaa903d367ace67b8cd0389dc (patch)
tree5392ed0c81240398a516f1868469ea4f18aa6e98 /templates/repo/view_list.tmpl
parentd3d828498599763c6a6364e112fe3b96de737377 (diff)
templates: rename template function Str2html -> Str2HTML
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r--templates/repo/view_list.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 3e8b5a53..c3b72e0e 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -10,7 +10,7 @@
<strong>{{.LatestCommit.Author.Name}}</strong>
{{end}}
<a rel="nofollow" class="ui sha label" href="{{.RepoLink}}/commit/{{.LatestCommit.ID}}" rel="nofollow">{{ShortSHA1 .LatestCommit.ID.String}}</a>
- <span class="grey has-emoji">{{RenderCommitMessage false .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas | Str2html}}</span>
+ <span class="grey has-emoji">{{RenderCommitMessage false .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas | Str2HTML}}</span>
</th>
<th class="nine wide">
</th>
@@ -49,7 +49,7 @@
{{end}}
<td class="message collapsing has-emoji">
<a rel="nofollow" class="ui sha label" href="{{$.RepoLink}}/commit/{{$commit.ID}}">{{ShortSHA1 $commit.ID.String}}</a>
- {{RenderCommitMessage false $commit.Summary $.RepoLink $.Repository.ComposeMetas | Str2html}}
+ {{RenderCommitMessage false $commit.Summary $.RepoLink $.Repository.ComposeMetas | Str2HTML}}
</td>
<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>
</tr>