Merge "Revert "Bug 70119: Strip style from SVG image""
This commit is contained in:
commit
b59a37640c
@ -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 New Issue
Block a user