Address escaping issue in I0eef0c5a. Use parse().
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 20 Aug 2012 16:41:58 +0000 (18:41 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 20 Aug 2012 16:41:58 +0000 (18:41 +0200)
Change-Id: I7a52d9b1a76c44ed901eb45369eaa4404b837655

includes/actions/InfoAction.php

index 07f76d2..a249a77 100644 (file)
@@ -179,14 +179,14 @@ class InfoAction extends FormlessAction {
                                $message = $this->msg( "protect-level-$protectionLevel" );
                                if ( $message->isDisabled() ) {
                                        // Require "$1" permission
-                                       $message = $this->msg( "protect-fallback", $protectionLevel )->escaped();
+                                       $message = $this->msg( "protect-fallback", $protectionLevel )->parse();
                                } else {
                                        $message = $message->escaped();
                                }
                        }
 
                        $table = $this->addRow( $table,
-                               $this->msg( 'pageinfo-restriction', $restrictionType )->escaped(), $message
+                               $this->msg( 'pageinfo-restriction', $restrictionType )->parse(), $message
                        );
                }