Last modified: 2011-03-13 18:06:48 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 T4154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2154 - <code> tags should render the same as <pre>
<code> tags should render the same as <pre>
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-12 00:56 UTC by Damien
Modified: 2011-03-13 18:06 UTC (History)
0 users

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


Attachments

Description Damien 2005-05-12 00:56:42 UTC
It seems that the contents of <pre> tags get by without processing. It seems logical that 
<code> tags should follow this. I have included a test case:



<pre><h1>This is an example HTML snippet.</h1></pre>

The following tag <code><h1></code> should be rendered in a similar method to the above.
Comment 1 Ævar Arnfjörð Bjarmason 2005-05-14 19:28:33 UTC
WONTFIX, X?HTML is supposed to be rendered inside <code> but not inside <pre>,
this is standard behaviour for these tags both on MediaWiki pages and outside them.

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


Navigation
Links