mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
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:
parent
1b41241091
commit
579591f932
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue