mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-23 10:21:31 +00:00
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
|
||||
*/
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue