Add final newline for consistent display and to fix the </textarea> when text empty
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 16 Feb 2006 22:08:02 +0000 (22:08 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 16 Feb 2006 22:08:02 +0000 (22:08 +0000)
includes/SpecialUndelete.php

index fce57e8..3825e0c 100644 (file)
@@ -416,7 +416,7 @@ class UndeleteForm {
                                        'readonly' => true,
                                        'cols' => intval( $wgUser->getOption( 'cols' ) ),
                                        'rows' => intval( $wgUser->getOption( 'rows' ) ) ),
-                               $text ) .
+                               $text . "\n" ) .
                        wfOpenElement( 'div' ) .
                        wfOpenElement( 'form', array(
                                'method' => 'post',