From ed105361513a1d0fbb7c6035cc847ffb461c3cf2 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 27 Nov 2007 06:20:40 +0000 Subject: [PATCH] Fixed bug 12056: transformMsg() was not calling unstripBoth(), breaking the common use case of among other things. --- includes/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Parser.php b/includes/Parser.php index bb27659d1d..5c4c21a4b0 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4216,6 +4216,7 @@ class Parser $this->setOutputType( OT_MSG ); $this->clearState(); $text = $this->replaceVariables( $text ); + $text = $this->mStripState->unstripBoth( $text ); $executing = false; wfProfileOut($fname); -- 2.20.1