From 0828ba0fb0d6cf83242fd4e84361ccc75222c42a Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Fri, 16 Jun 2006 13:27:58 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20341689:=20'Edit=20Attachment=20As=20Comme?= =?UTF-8?q?nt'=20converts=20plain=20text=20to=20HTML=20entities=20-=20Patc?= =?UTF-8?q?h=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r/?= =?UTF-8?q?a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@200115 18797224-902f-48f8-a5cc-f745e15eee43 --- .../bugzilla/template/en/default/attachment/edit.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl index 2f02aae34c5..6dfc8b09965 100644 --- a/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl @@ -62,7 +62,7 @@ // If this is a plaintext document, remove cruft that Mozilla adds // because it treats it as an HTML document with a big PRE section. // http://bugzilla.mozilla.org/show_bug.cgi?id=86012 - var contentType = '[% contenttype FILTER js %]'; + var contentType = '[% attachment.contenttype FILTER js %]'; if ( contentType == 'text/plain' ) { theContent = theContent.replace( /^
/i , "" );