From 82e546e2a40e9ecaf33080734bd2b8bf2f57a7fb Mon Sep 17 00:00:00 2001
From: "myk%mozilla.org" <>
Date: Sat, 27 Apr 2002 01:12:54 +0000
Subject: Fix for bug 140354: Prevents "edit attachment as comment" from
displaying opening and closing HTML tags on recent versions of Mozilla by
making the regexp that finds and removes them case-insensitive. Patch by Myk
Melez
/ , "" ); - theContent = theContent.replace( /<\/pre><\/body><\/html>$/ , "" ); + theContent = theContent.replace( /^
/i , "" ); + theContent = theContent.replace( /<\/pre><\/body><\/html>$/i , "" ); theContent = theContent.replace( /</gi , "<" ); theContent = theContent.replace( />/gi , ">" ); theContent = theContent.replace( /&/gi , "&" ); -- cgit v1.2.3-24-g4f1b