Last modified: 2011-07-17 04:56:55 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 T30087, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28087 - Line breaks introduced when nesting nowiki within code tags.
Line breaks introduced when nesting nowiki within code tags.
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.15.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: newparser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-16 23:23 UTC by xtina.schelin+mwbug
Modified: 2011-07-17 04:56 UTC (History)
2 users (show)

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


Attachments

Description xtina.schelin+mwbug 2011-03-16 23:23:14 UTC
Steps:

* Edit or create a page.
* Enter a line like this:

<code><nowiki>Test string.</pre></code>

* Save the page.
* Edit the page again.

Bug:

Page now looks like this:

<code>
<nowiki>Test string.</pre> </code>

Each subsequent edit/save adds a new line between the opening code and nowiki tags:

<code>

<nowiki>Test string.</pre></code>
Comment 1 Dan Collins 2011-07-17 04:56:55 UTC
I was unable to reproduce this on 1.17 with either nowiki /or/ pre inside code, or with the mismatched tags from your example. Worksforme.

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


Navigation
Links