Merge "Revert "Bug 70119: Strip style from SVG image""

This commit is contained in:
GWicke 2014-10-10 01:01:27 +00:00 committed by Gerrit Code Review
commit b59a37640c

View File

@ -99,8 +99,6 @@ class SpecialMathShowImage extends SpecialPage {
$output = $this->renderer->getPng();
} else {
$output = $this->renderer->getSvg();
// Strip the first style tag
$output = preg_replace( '/ style="[^"]+"/', '', $output, 1 );
}
} else {
// Error message in PNG not supported