diff --git a/src/SpecialMathStatus.php b/src/SpecialMathStatus.php index fb49555d3..1dfc23ad7 100644 --- a/src/SpecialMathStatus.php +++ b/src/SpecialMathStatus.php @@ -116,7 +116,7 @@ class SpecialMathStatus extends SpecialPage { // phpcs:ignore Generic.Files.LineLength.TooLong $inputSample = ' P i j = 100 d i j 6.75 r j , '; $attribs = [ 'type' => 'pmml' ]; - $renderer = new MathMathML( $inputSample, $attribs ); + $renderer = $this->rendererFactory->getRenderer( $inputSample, $attribs, MathConfig::MODE_MATHML ); $this->assertEquals( 'pmml', $renderer->getInputType(), 'Checking if MathML input is supported' ); $this->assertTrue( $renderer->render(), 'Rendering Presentation MathML sample' ); $real = $renderer->getHtmlOutput();