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:
physikerwelt 2015-07-13 11:43:26 -04:00
parent b1efca8de4
commit da6865c014

View file

@ -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(