mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 09:20:42 +00:00
Fix syntax error
Fix obvious syntax error introduced by I7dcdd88be4f1f8219f71ab770979284761e09bae. The line that is reintroduced in this change was obviously accidently deleted. Consult the git history for details. Change-Id: I09d863f69603cc133f3e007cd7da2dc13c81847b
This commit is contained in:
parent
358635a33d
commit
8b886471d9
|
@ -115,6 +115,7 @@ class SpecialMathStatus extends SpecialPage {
|
|||
// @codingStandardsIgnoreStart
|
||||
$inputSample = '<msub> <mrow> <mi> P</mi> </mrow> <mrow> <mi> i</mi> <mi> j</mi> </mrow> </msub> <mo> =</mo> <mfrac> <mrow> <mn> 100</mn> <msub> <mrow> <mi> d</mi> </mrow> <mrow> <mi> i</mi> <mi> j</mi> </mrow> </msub> </mrow> <mrow> <mn> 6.75</mn> <msub> <mrow> <mi> r</mi> </mrow> <mrow> <mi> j</mi> </mrow> </msub> </mrow> </mfrac> <mo> ,</mo> </math>';
|
||||
// @codingStandardsIgnoreEnd
|
||||
$attribs = array( 'type' => 'pmml' );
|
||||
$renderer = new MathMathML( $inputSample, $attribs );
|
||||
$this->assertEquals( 'pmml', $renderer->getInputType(), 'Checking if MathML input is supported' );
|
||||
$this->assertTrue( $renderer->render(), 'Rendering Presentation MathML sample' );
|
||||
|
|
Loading…
Reference in a new issue