Whitespace, per Brion
authorRob Church <robchurch@users.mediawiki.org>
Thu, 12 Jan 2006 21:11:11 +0000 (21:11 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Thu, 12 Jan 2006 21:11:11 +0000 (21:11 +0000)
includes/Parser.php

index 08575c1..56f62ca 100644 (file)
@@ -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;
        }