From: Rob Church Date: Thu, 12 Jan 2006 21:11:11 +0000 (+0000) Subject: Whitespace, per Brion X-Git-Tag: 1.6.0~587 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Main?a=commitdiff_plain;h=3ad63cf6d6bc74bc9de51983b897d65bdc0e3345;p=lhc%2Fweb%2Fwiklou.git Whitespace, per Brion --- diff --git a/includes/Parser.php b/includes/Parser.php index 08575c13a0..56f62caa3d 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3289,9 +3289,11 @@ class Parser ); $text = preg_replace( '/~{3,5}/', '', $text ); + # TODO: Fix this, it's an ugly hack - if( $parsing ) { $text = $this->replaceVariables( $text ); } - + if( $parsing ) { + $text = $this->replaceVariables( $text ); + } return $text; }