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:
physikerwelt (Moritz Schubotz) 2014-11-03 01:07:36 +01:00
parent 27ff45433d
commit 9141a9e5ed
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ class MathMathML extends MathRenderer {
$mml = preg_replace( '/<math/', '<math display="block"', $mml );
}
$output .= Xml::tags( $element, array( 'class' => $this->getClassName(), 'style' => 'display: none;' ), $mml );
$output .= $this->getFallbackImage( ) . "\n";
$output .= $this->getFallbackImage( );
$output .= HTML::closeElement( $element );
return $output;
}