From 3ff9c9a37a228ba3eeb67bf25968b52b8aaca04c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 24 Jan 2007 08:56:31 +0000 Subject: Bug 363717: Cloning a bug results in HTML-filtered text in initial description (text escaped twice) - Patch by Frédéric Buclin r=myk a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/create/create.html.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'template/en/default/bug/create') 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' -- cgit v1.2.3-24-g4f1b