Page MenuHomePhabricator

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

Details

Reference
bz13728

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:05 PM
bzimport set Reference to bz13728.
bzimport added a subscriber: Unknown Object (MLST).

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

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