From edfb4c738cd60bc6f724aa92a15c8f48b722b015 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 11 Apr 2012 11:23:08 +0000 Subject: [PATCH] Html::setSubmitTextMsg double escapes On Dutch the button showed "Pagina's verwijderen" Change-Id: I082e16e9320ba4aef1e2bf5f81cfe54fdf61b6c3 --- includes/HTMLForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); } /** -- 2.20.1