Last modified: 2011-07-17 04:56:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 28087 - Line breaks introduced when nesting nowiki within code tags.
Line breaks introduced when nesting nowiki within code tags.
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: newparser
Depends on:
  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: ---


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

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

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

* Save the page.
* Edit the page again.


Page now looks like this:

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

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


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