Last modified: 2010-05-15 15:54:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15728, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13728 - Formating Change when Section edited or whole page edited..
Formating Change when Section edited or whole page edited..
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-13 13:48 UTC by Luke
Modified: 2010-05-15 15:54 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Luke 2008-04-13 13:48:48 UTC
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
Comment 1 Brion Vibber 2008-04-14 19:44:17 UTC
Hmm, that's not supposed to happen. :)
Comment 2 Brion Vibber 2008-04-14 20:28:10 UTC
Test case added in r33313
Comment 3 Brion Vibber 2008-04-14 20:39:45 UTC
Fixed in r33314 -- changing trim() to rtrim() in Parser::extractSections()

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links