Remove old commented-out section which has some literals that break my editor's synta...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 28 Oct 2004 01:22:49 +0000 (01:22 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 28 Oct 2004 01:22:49 +0000 (01:22 +0000)
includes/Parser.php

index f66e68f..2ec45cb 100644 (file)
@@ -2702,14 +2702,6 @@ class Parser
                        "\r\n" => "\n",
                        );
                $text = str_replace(array_keys($pairs), array_values($pairs), $text);
-               // now with regexes
-               /*
-               $pairs = array(
-                       "/<br.+(clear|break)=[\"']?(all|both)[\"']?\\/?>/i" => '<br style="clear:both;"/>',
-                       "/<br *?>/i" => "<br />",
-               );
-               $text = preg_replace(array_keys($pairs), array_values($pairs), $text);
-               */
                $text = $this->strip( $text, $stripState, false );
                $text = $this->pstPass2( $text, $user );
                $text = $this->unstrip( $text, $stripState );