Last modified: 2010-05-15 15:50:57 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 T12776, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10776 - <pre> tag bug(s)? - "Save page" destroys content
<pre> tag bug(s)? - "Save page" destroys content
Status: RESOLVED DUPLICATE of bug 10309
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.10.x
PC Linux
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-02 12:58 UTC by Jay Hannah
Modified: 2010-05-15 15:50 UTC (History)
0 users

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


Attachments

Description Jay Hannah 2007-08-02 12:58:04 UTC
In case these matter:
* PHP: 5.2.1 (apache2handler)
* MySQL: 5.0.38-Ubuntu_0ubuntu1-log 

Create a page with this content:

==Header 1==
<pre>
<h1>X</h1>
</pre>
==Header 2==
<pre>
<h1>X</h1>
</pre>

Now click the [edit] for Header 2. Change the "X" to "Y". Click "Save page".

As you can see, all sorts of interesting and unexpected things happened. Header 2 got slurped inside Header 1 and there's a new Header tag: X with contents "</pre>"...

Kooky, eh? I'm having to [undo] many errant "Save page" operations daily. Large pages with lots of <pre> headers get contorted in all sorts of bizarre ways.

Thanks for your help,

j
Comment 1 Brion Vibber 2007-08-08 17:28:10 UTC
This was fixed for 1.11 some time ago.

*** This bug has been marked as a duplicate of bug 10309 ***

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


Navigation
Links