diff options
author | lpsolit%gmail.com <> | 2006-06-16 22:26:03 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-16 22:26:03 +0200 |
commit | f35e18b585fd8c2604e43d1fbdf53a36bf77e804 (patch) | |
tree | edfa3c0fc00225c08f404f96940f41376e411d7e /template/en | |
parent | 3d9bbd971bb1b9020f9c93a74e844bc6dd019ab9 (diff) | |
download | bugzilla-f35e18b585fd8c2604e43d1fbdf53a36bf77e804.tar.gz bugzilla-f35e18b585fd8c2604e43d1fbdf53a36bf77e804.tar.xz |
Bug 341689: 'Edit Attachment As Comment' converts plain text to HTML entities - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 2f02aae34..6dfc8b099 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/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( /^<html><head\/?><body><pre>/i , "" ); |