New line here makes a lot of slightly tidier looking HTML code
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 16 Nov 2004 06:20:09 +0000 (06:20 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 16 Nov 2004 06:20:09 +0000 (06:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8383 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/html.php

index 747d68ede2c347859388d01c56cbd45242efb329..8667427a9aaa2bc37a77ebd17aa0731131ac1b6f 100644 (file)
@@ -81,9 +81,9 @@ function html_tag( $tag,                // Tag to output
         }
 
         if ( $val <> '' ) {
-            $ret .= ">$val</$tag>";
+            $ret .= ">$val</$tag>\n";
         } else {
-            $ret .= '>';
+            $ret .= '>'. "\n";
         }
 
         return( $ret );
@@ -178,4 +178,4 @@ function html_tag( $tag,                // Tag to output
             echo $format_ar[$frm_last];
         }
     }
-?>
\ No newline at end of file
+?>