From: Tim Starling Date: Tue, 27 Nov 2007 06:20:40 +0000 (+0000) Subject: Fixed bug 12056: transformMsg() was not calling unstripBoth(), breaking the common... X-Git-Tag: 1.31.0-rc.0~50706 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=ed105361513a1d0fbb7c6035cc847ffb461c3cf2;p=lhc%2Fweb%2Fwiklou.git Fixed bug 12056: transformMsg() was not calling unstripBoth(), breaking the common use case of among other things. --- 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);