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

Description

Author: huntsfromshadow

Description:
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.

Thanks


Version: 1.12.x
Severity: normal

bzimport added a project: MediaWiki-Page-editing.Via ConduitNov 21 2014, 10:05 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz13728.
bzimport created this task.Via LegacyApr 13 2008, 1:48 PM
brion added a comment.Via ConduitApr 14 2008, 7:44 PM

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

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

Test case added in r33313

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

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

Add Comment