mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
Fix: SVG images for LaTeXML were not cached
* The createSvg function calculated the new SVG image but did not set the change bit Change-Id: Ib797f607386013960edafb33c609c9cff4de0e4b
This commit is contained in:
parent
b1efca8de4
commit
da6865c014
|
@ -190,7 +190,7 @@ class MathLaTeXML extends MathMathML {
|
|||
$renderer->setMode( MW_MATH_LATEXML );
|
||||
$res = $renderer->render( true );
|
||||
if ( $res == true ) {
|
||||
$this->svg = $renderer->getSvg();
|
||||
$this->setSvg( $renderer->getSvg() );
|
||||
} else {
|
||||
$lastError = $renderer->getLastError();
|
||||
LoggerFactory::getInstance( 'Math' )->error(
|
||||
|
|
Loading…
Reference in a new issue