From: Gabriel Wicke Date: Sun, 2 May 2004 23:53:10 +0000 (+0000) Subject: \n rather than \n (although they both seem to work) X-Git-Tag: 1.3.0beta1~159 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=4671bf4b40ea75cf28b51c2338e5e4bfb4a6d0e4;p=lhc%2Fweb%2Fwiklou.git \n rather than \n (although they both seem to work) --- diff --git a/includes/Parser.php b/includes/Parser.php index cd1469b576..159b271b4d 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1515,7 +1515,7 @@ class Parser $htmlattrs = $this->getHTMLattrs () ; # Remove HTML comments - $text = preg_replace( "/(\n * *(?=\n)|)/sU", "$2", $text ); + $text = preg_replace( "/(\\n * *(?=\\n)|)/sU", "$2", $text ); $bits = explode( "<", $text ); $text = array_shift( $bits );