Merge "SkinTemplate: Add $this as a parameter to PersonalUrls hook"
[lhc/web/wiklou.git] / includes / content / JavaScriptContent.php
index 247de6d..2ae572b 100644 (file)
@@ -58,7 +58,7 @@ class JavaScriptContent extends TextContent {
        protected function getHtml() {
                $html = "";
                $html .= "<pre class=\"mw-code mw-js\" dir=\"ltr\">\n";
-               $html .= htmlspecialchars( $this->getNativeData() );
+               $html .= $this->getHighlightHtml();
                $html .= "\n</pre>\n";
 
                return $html;