Allow quotes in $wgDebugComments HTML comments
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 19:53:43 +0000 (12:53 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 19:53:43 +0000 (12:53 -0700)
Change-Id: Id1fbab9ad3d6d645b6efea1d1e66a18ab4fe0b89

includes/debug/MWDebug.php

index 8c019d8..dde678f 100644 (file)
@@ -439,7 +439,7 @@ class MWDebug {
 
                if ( $wgDebugComments ) {
                        $html .= "<!-- Debug output:\n" .
-                               htmlspecialchars( implode( "\n", self::$debug ) ) .
+                               htmlspecialchars( implode( "\n", self::$debug ), ENT_NOQUOTES ) .
                                "\n\n-->";
                }