diff --git a/src/Widget/MathTestInputForm.php b/src/Widget/MathTestInputForm.php index a0ee4b97d..60308ab07 100644 --- a/src/Widget/MathTestInputForm.php +++ b/src/Widget/MathTestInputForm.php @@ -54,7 +54,7 @@ class MathTestInputForm extends OOUIHTMLForm { // Messages that can be used here: // * math-form-type-tex // * math-form-type-chem - $txt = wfMessage( $optionLabelPrefix[$key] . $value )->parseAsBlock(); + $txt = wfMessage( $optionLabelPrefix[$key] . $value )->parse(); $options[$txt] = $value; } $form[$key]['options'] = $options;