Revert "Bug 70119: Strip style from SVG image"

This is now handled in mathoid by https://gerrit.wikimedia.org/r/165948

This reverts commit 1b41241091.

Change-Id: Ia8bc6eb6daebc4d28135602f483492b878928565
This commit is contained in:
GWicke 2014-10-10 01:01:13 +00:00
parent 1b41241091
commit 579591f932

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