Escaping fixes
[lhc/web/wiklou.git] / includes / OutputPage.php
index 2aaaf15..f8ae310 100644 (file)
@@ -1444,7 +1444,7 @@ class OutputPage {
        public function addReturnTo( $title ) {
                global $wgUser;
                $this->addLink( array( 'rel' => 'next', 'href' => $title->getFullUrl() ) );
-               $link = wfMsg( 'returnto', $wgUser->getSkin()->link( $title ) );
+               $link = wfMsgHtml( 'returnto', $wgUser->getSkin()->link( $title ) );
                $this->addHTML( "<p>{$link}</p>\n" );
        }