From 3ad63cf6d6bc74bc9de51983b897d65bdc0e3345 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Thu, 12 Jan 2006 21:11:11 +0000 Subject: [PATCH] Whitespace, per Brion --- includes/Parser.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; } -- 2.20.1