Remove Undesired spaces after math expressions
The linebreak after the math fallback image caused the additional space. Bug: 72806 Change-Id: Id7117f84ddb4cbe2eb4d6b8abeecf38b4f7e3c6d
This commit is contained in:
parent
27ff45433d
commit
9141a9e5ed
@ -437,7 +437,7 @@ class MathMathML extends MathRenderer {
|
|||||||
$mml = preg_replace( '/<math/', '<math display="block"', $mml );
|
$mml = preg_replace( '/<math/', '<math display="block"', $mml );
|
||||||
}
|
}
|
||||||
$output .= Xml::tags( $element, array( 'class' => $this->getClassName(), 'style' => 'display: none;' ), $mml );
|
$output .= Xml::tags( $element, array( 'class' => $this->getClassName(), 'style' => 'display: none;' ), $mml );
|
||||||
$output .= $this->getFallbackImage( ) . "\n";
|
$output .= $this->getFallbackImage( );
|
||||||
$output .= HTML::closeElement( $element );
|
$output .= HTML::closeElement( $element );
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user