From d3d828498599763c6a6364e112fe3b96de737377 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 10 Dec 2018 22:21:42 -0500 Subject: templates: sanitize special links in commit message (#5545) Reported by @cezar97. --- templates/repo/commits_table.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/repo/commits_table.tmpl') diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 1b835d33..a386b14e 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -47,7 +47,7 @@ {{else}} {{ShortSHA1 .ID.String}} {{end}} - {{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}} + {{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas | Str2html}} {{TimeSince .Author.When $.Lang}} -- cgit v1.2.3