From 55c3e8a501ebaf284ecdd766922bf41f8fb928b1 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Thu, 12 Jan 2006 20:56:55 +0000 Subject: [PATCH] Whitespace, and flag hack --- includes/Parser.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 0b3d92d13a..08575c13a0 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3289,9 +3289,8 @@ class Parser ); $text = preg_replace( '/~{3,5}/', '', $text ); - if( $parsing) { - $text = $this->replaceVariables( $text ); - } + # TODO: Fix this, it's an ugly hack + if( $parsing ) { $text = $this->replaceVariables( $text ); } return $text; -- 2.20.1