summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-24 09:56:31 +0100
committerlpsolit%gmail.com <>2007-01-24 09:56:31 +0100
commit3ff9c9a37a228ba3eeb67bf25968b52b8aaca04c (patch)
treefb9a37547aae0cbbe871772985dd47682c3ae088 /template
parentcf44f00b56d29c994137d9830a595156cde1924e (diff)
downloadbugzilla-3ff9c9a37a228ba3eeb67bf25968b52b8aaca04c.tar.gz
bugzilla-3ff9c9a37a228ba3eeb67bf25968b52b8aaca04c.tar.xz
Bug 363717: Cloning a bug results in HTML-filtered text in initial description (text escaped twice) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/create/create.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 769128164..fc6024a9e 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -412,7 +412,9 @@ function handleWantsAttachment(wants_attachment) {
[% END %]
- [% comment FILTER html %]
+ [%-# We are within a BLOCK. The comment will be correctly HTML-escaped
+ # by global/textarea.html.tmpl. So we must not escape the comment here. %]
+ [% comment FILTER none %]
[%- END %]
[% INCLUDE global/textarea.html.tmpl
name = 'comment'