diff --git a/FancyCaptcha/includes/HTMLFancyCaptchaField.php b/FancyCaptcha/includes/HTMLFancyCaptchaField.php index 9cb136a5d..5cd83bc76 100644 --- a/FancyCaptcha/includes/HTMLFancyCaptchaField.php +++ b/FancyCaptcha/includes/HTMLFancyCaptchaField.php @@ -92,8 +92,8 @@ class HTMLFancyCaptchaField extends HTMLFormField { public function getLabel() { // slight abuse of what getLabel() should mean; $mLabel is used for the pre-label text // as the actual label is always the same - return $this->mParent->msg( 'captcha-label' )->text() . ' ' - . $this->mParent->msg( 'fancycaptcha-captcha' )->text(); + return $this->mParent->msg( 'captcha-label' )->escaped() . ' ' + . $this->mParent->msg( 'fancycaptcha-captcha' )->escaped(); } /**