Selaa lähdekoodia

New line here makes a lot of slightly tidier looking HTML code

jangliss 20 vuotta sitten
vanhempi
commit
140fbed2ec
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      functions/html.php

+ 3 - 3
functions/html.php

@@ -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];
         }
     }
-?>
+?>