* (bug 13728) Don't trim initial whitespace during section edits
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Apr 2008 20:39:00 +0000 (20:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Apr 2008 20:39:00 +0000 (20:39 +0000)
RELEASE-NOTES
includes/Parser.php

index 84c8fcc..ef09bff 100644 (file)
@@ -180,6 +180,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 13708) Don't set "Search results" title when loading Special:Search
   without query
 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses
+* (bug 13728) Don't trim initial whitespace during section edits
+
 
 === API changes in 1.13 ===
 
index 3e2c80a..6f8ae85 100644 (file)
@@ -4662,7 +4662,7 @@ class Parser
 
                if ( is_string( $outText ) ) {
                        // Re-insert stripped tags
-                       $outText = trim( $this->mStripState->unstripBoth( $outText ) );
+                       $outText = rtrim( $this->mStripState->unstripBoth( $outText ) );
                }
 
                return $outText;