From e5091482cfb394c2196396c8afb7ede8d090b168 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 5 May 2008 03:35:37 +0000 Subject: [PATCH] Remove garbage HTML, show user --- includes/SpecialNewpages.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index f880ec2903..3de2a6710c 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -316,8 +316,9 @@ class NewPagesForm { protected function feedItemDesc( $row ) { $revision = Revision::newFromId( $row->rev_id ); if( $revision ) { - return '

' . htmlspecialchars( wfMsg( 'summary' ) ) . ': ' . - htmlspecialchars( $revision->getComment() ) . "

\n
\n
" . + return '

' . htmlspecialchars( $revision->getUserText() ) . ': ' . + htmlspecialchars( $revision->getComment() ) . + "

\n
\n
" . nl2br( htmlspecialchars( $revision->getText() ) ) . "
"; } return ''; -- 2.20.1