From: Brion Vibber Date: Thu, 28 Oct 2004 01:22:49 +0000 (+0000) Subject: Remove old commented-out section which has some literals that break my editor's synta... X-Git-Tag: 1.5.0alpha1~1433 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=35cd7657f549a6eb2df0fb8506fb7434a37787cd;p=lhc%2Fweb%2Fwiklou.git Remove old commented-out section which has some literals that break my editor's syntax highlighting --- diff --git a/includes/Parser.php b/includes/Parser.php index f66e68fefb..2ec45cb160 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2702,14 +2702,6 @@ class Parser "\r\n" => "\n", ); $text = str_replace(array_keys($pairs), array_values($pairs), $text); - // now with regexes - /* - $pairs = array( - "//i" => '
', - "/
/i" => "
", - ); - $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 );