Remove unused XML namespace
Bug: T87142 Change-Id: I1c900584aeafbeb5848a3300904710ee312d6223
This commit is contained in:
parent
6e119fdb9a
commit
37e61853b5
@ -123,7 +123,7 @@ class SpecialMathShowImage extends SpecialPage {
|
|||||||
*/
|
*/
|
||||||
private function printSvgError( $msg ) {
|
private function printSvgError( $msg ) {
|
||||||
global $wgMathDebug;
|
global $wgMathDebug;
|
||||||
$result = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 4"
|
$result = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 4"
|
||||||
preserveAspectRatio="xMidYMid meet" >' .
|
preserveAspectRatio="xMidYMid meet" >' .
|
||||||
'<text text-anchor="start" fill="red" y="2">' . htmlspecialchars( $msg ) . '</text></svg>';
|
'<text text-anchor="start" fill="red" y="2">' . htmlspecialchars( $msg ) . '</text></svg>';
|
||||||
if ( $wgMathDebug ) {
|
if ( $wgMathDebug ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user