Escaping fixes
[lhc/web/wiklou.git] / includes / specials / SpecialAncientpages.php
index 188ad91..6ebd570 100644 (file)
@@ -47,7 +47,7 @@ class AncientPagesPage extends QueryPage {
                $d = $wgLang->timeanddate( wfTimestamp( TS_MW, $result->value ), true );
                $title = Title::makeTitle( $result->namespace, $result->title );
                $link = $skin->makeKnownLinkObj( $title, htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ) );
-               return wfSpecialList($link, $d);
+               return wfSpecialList($link, htmlspecialchars($d) );
        }
 }