Fix MathRenderer::renderMath.
The call to getRenderer is supposed to be a static method in the same class, not a global function. Change-Id: I5d101574b1d67238c6357e154209f2595cb36859
This commit is contained in:
parent
8a04254e6d
commit
48b029fbe9
@ -50,7 +50,7 @@ abstract class MathRenderer {
|
|||||||
* @return string HTML for math tag
|
* @return string HTML for math tag
|
||||||
*/
|
*/
|
||||||
public static function renderMath( $tex, $params = array(), $mode = MW_MATH_PNG ) {
|
public static function renderMath( $tex, $params = array(), $mode = MW_MATH_PNG ) {
|
||||||
$renderer = getRenderer( $tex, $params, $mode );
|
$renderer = self::getRenderer( $tex, $params, $mode );
|
||||||
return $renderer->render();
|
return $renderer->render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user