From: Gabriel Wicke Date: Fri, 14 May 2004 01:18:12 +0000 (+0000) Subject: accidentially removed nl fix X-Git-Tag: 1.3.0beta1~68 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=51be5ecccf27f6d496177f9e658d8ab9a18299cb;p=lhc%2Fweb%2Fwiklou.git accidentially removed nl fix --- diff --git a/includes/Parser.php b/includes/Parser.php index 05c6786e98..b119c52d1a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1552,6 +1552,7 @@ class Parser # Run full parser on the included text $text = $this->strip( $text, $this->mStripState ); $text = $this->internalParse( $text, (bool)$newline, $assocArgs, false ); + if(!empty($newline)) $text = "\n".$text; # Add the result to the strip state for re-inclusion after # the rest of the processing