Keep monospace as a fallback for HTML debugging
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 7 Mar 2011 16:36:35 +0000 (16:36 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 7 Mar 2011 16:36:35 +0000 (16:36 +0000)
Per CR on r83336. We also keep this as inline style since it is only
needed by developers anyway.

includes/Skin.php

index 89ecc0f..a7f1482 100644 (file)
@@ -827,7 +827,7 @@ abstract class Skin extends Linker {
 
                if ( $wgShowDebug ) {
                        $listInternals = $this->formatDebugHTML( $out->mDebugtext );
-                       return "\n<hr />\n<strong>Debug data:</strong><ul style=\"font-family:\'Courier New\';\" id=\"mw-debug-html\">" .
+                       return "\n<hr />\n<strong>Debug data:</strong><ul style=\"font-family:\'Courier New\',monospace;\" id=\"mw-debug-html\">" .
                                $listInternals . "</ul>\n";
                }