Formating Change when Section edited or whole page edited..
Closed, ResolvedPublic


Author: huntsfromshadow

Odd behavior here that I thought I would bug report.

A page has the following mediawiki markup:

<i>Test 1
Test 2
Test 3</i><br>

Section Header

Sub Section Header

If I edit the whole page from the tab the markup comes up and everything is fine.

If I edit from a section header and save the markup of the top party of the page
changes to:

<i>Test 1
Test 2
Test 3</i><br>

Almost as it is stripping the space before the <i>.

It's annoying but doesn't horribly break anything.


Version: 1.12.x
Severity: normal


bzimport set Reference to bz13728.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Apr 13 2008, 1:48 PM
brion added a comment.Apr 14 2008, 7:44 PM

Hmm, that's not supposed to happen. :)

brion added a comment.Apr 14 2008, 8:28 PM

Test case added in r33313

brion added a comment.Apr 14 2008, 8:39 PM

Fixed in r33314 -- changing trim() to rtrim() in Parser::extractSections()

Add Comment