From: Niklas Laxström Date: Wed, 11 Apr 2012 11:23:08 +0000 (+0000) Subject: Html::setSubmitTextMsg double escapes X-Git-Tag: 1.31.0-rc.0~23936 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=edfb4c738cd60bc6f724aa92a15c8f48b722b015;p=lhc%2Fweb%2Fwiklou.git Html::setSubmitTextMsg double escapes On Dutch the button showed "Pagina's verwijderen" Change-Id: I082e16e9320ba4aef1e2bf5f81cfe54fdf61b6c3 --- diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index 74174b5bb4..ebaac3cc17 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -664,7 +664,7 @@ class HTMLForm extends ContextSource { * @param $msg String message key */ public function setSubmitTextMsg( $msg ) { - return $this->setSubmitText( $this->msg( $msg )->escaped() ); + return $this->setSubmitText( $this->msg( $msg )->text() ); } /**