diff options
author | bbaetz%student.usyd.edu.au <> | 2002-06-28 07:18:02 +0000 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-06-28 07:18:02 +0000 |
commit | d5f30d8dfda359d6761d164d3c650adf1716213b (patch) | |
tree | 4f2ee142ba674fa30f1b0f45781ed935e3b405d5 /template/en/default/attachment/edit.html.tmpl | |
parent | 0b729766ba6298c596b6f9e1e5452642306d5e3e (diff) | |
download | bugs-d5f30d8dfda359d6761d164d3c650adf1716213b.tar bugs-d5f30d8dfda359d6761d164d3c650adf1716213b.tar.gz bugs-d5f30d8dfda359d6761d164d3c650adf1716213b.tar.bz2 bugs-d5f30d8dfda359d6761d164d3c650adf1716213b.tar.xz bugs-d5f30d8dfda359d6761d164d3c650adf1716213b.zip |
Bug 148488 - more HTML validation fixes
r=jouni, gerv
Diffstat (limited to 'template/en/default/attachment/edit.html.tmpl')
-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 873f73b59..ca72647dd 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -53,7 +53,7 @@ var contentType = '[% contenttype %]'; if ( contentType == 'text/plain' ) { - theContent = theContent.replace( /^<html><head\/><body><pre>/i , "" ); + theContent = theContent.replace( /^<html><head\/?><body><pre>/i , "" ); theContent = theContent.replace( /<\/pre><\/body><\/html>$/i , "" ); theContent = theContent.replace( /</gi , "<" ); theContent = theContent.replace( />/gi , ">" ); |