Remove more "?>"
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 16 Mar 2009 00:36:17 +0000 (00:36 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 16 Mar 2009 00:36:17 +0000 (00:36 +0000)
includes/OutputPage.php

index 2474495..ce35056 100644 (file)
@@ -1527,7 +1527,7 @@ class OutputPage {
 
                if ( count( $this->mKeywords ) > 0 ) {
                        $strip = array(
-                               "/<.*?>/" => '',
+                               "/<.*?" . ">/" => '',
                                "/_/" => ' '
                        );
                        $this->addMeta( 'keywords', preg_replace(array_keys($strip), array_values($strip),implode( ",", $this->mKeywords ) ) );