From d5f30d8dfda359d6761d164d3c650adf1716213b Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Fri, 28 Jun 2002 07:18:02 +0000 Subject: Bug 148488 - more HTML validation fixes r=jouni, gerv --- template/en/default/attachment/edit.html.tmpl | 2 +- template/en/default/attachment/show-multiple.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/attachment') 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( /^
/i , "" );
+          theContent = theContent.replace( /^
/i , "" );
           theContent = theContent.replace( /<\/pre><\/body><\/html>$/i , "" );
           theContent = theContent.replace( /</gi , "<" );
           theContent = theContent.replace( />/gi , ">" );
diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl
index b3c05f2e2..6d192ad89 100644
--- a/template/en/default/attachment/show-multiple.html.tmpl
+++ b/template/en/default/attachment/show-multiple.html.tmpl
@@ -86,7 +86,7 @@
   [% ELSE %]
     

Attachment cannot be viewed because its MIME type is not text/*, image/*, or application/vnd.mozilla.*. - Download the attachment instead. + Download the attachment instead.

[% END %] -- cgit v1.2.3-24-g4f1b