From 8e384ce46c69b0e90168094f64e2ad6c787f4cbb Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 20 Jan 2015 13:08:49 +0800 Subject: fix #828, may cause unintentional break in other features, but security is no.1 --- templates/repo/issue/milestone.tmpl | 2 +- templates/repo/issue/view.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/repo/issue') diff --git a/templates/repo/issue/milestone.tmpl b/templates/repo/issue/milestone.tmpl index 8a5751c1..8fc3c253 100644 --- a/templates/repo/issue/milestone.tmpl +++ b/templates/repo/issue/milestone.tmpl @@ -32,7 +32,7 @@ Issues


-

{{.RenderedContent | str2html}}

+

{{.RenderedContent | Str2html}}

{{end}} diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index 738e0c34..31231515 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -25,7 +25,7 @@
- {{str2html .Issue.RenderedContent}} + {{Str2html .Issue.RenderedContent}}