Indent output when adding links and meta tags
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 21 Jan 2007 16:01:50 +0000 (16:01 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 21 Jan 2007 16:01:50 +0000 (16:01 +0000)
includes/OutputPage.php

index fa32fb5..1dd4212 100644 (file)
@@ -1133,11 +1133,11 @@ class OutputPage {
                                "/<.*?>/" => '',
                                "/_/" => ' '
                        );
-                       $ret .= "<meta name=\"keywords\" content=\"" .
+                       $ret .= "\t\t<meta name=\"keywords\" content=\"" .
                          htmlspecialchars(preg_replace(array_keys($strip), array_values($strip),implode( ",", $this->mKeywords ))) . "\" />\n";
                }
                foreach ( $this->mLinktags as $tag ) {
-                       $ret .= '<link';
+                       $ret .= "\t\t<link";
                        foreach( $tag as $attr => $val ) {
                                $ret .= " $attr=\"" . htmlspecialchars( $val ) . "\"";
                        }