Revert r44271 "(bug 12998) Weaken DISPLAYTITLE restictions (patch by 'rememberthedot...
[lhc/web/wiklou.git] / includes / Skin.php
index 2ae8d27..d02c077 100644 (file)
@@ -1014,7 +1014,7 @@ END;
 
        function pageTitle() {
                global $wgOut;
-               $s = '<h1 class="pagetitle">' . $wgOut->getPageTitle() . '</h1>';
+               $s = '<h1 class="pagetitle">' . htmlspecialchars( $wgOut->getPageTitle() ) . '</h1>';
                return $s;
        }