Removed PST <br> conversion, unnecessary, was annoying people
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 30 May 2004 02:34:44 +0000 (02:34 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 30 May 2004 02:34:44 +0000 (02:34 +0000)
includes/Parser.php

index 003198a..5da9c97 100644 (file)
@@ -1881,11 +1881,13 @@ class Parser
                        );
                $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 );