Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357365 - [mediawiki] <nowiki> not handled inside <code> tag
Summary: [mediawiki] <nowiki> not handled inside <code> tag
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 07:48 EDT by Nicolas Bros CLA
Modified: 2013-08-02 12:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-09-12 07:48:04 EDT
With this code:
<code>
<nowiki>
<p>
This is some HTML content
</p></nowiki>
</code>

I want to protect the <p> so that it is not handled as an html tag but instead displayed as-is. So I use a <nowiki> tag (which I don't want to appear) to protect the content. 

This is a tricky case, and I'm not sure the spec describes this case. But the "real" MediaWiki engine gives the result I expect: the <p> tag appears in the output, and the <nowiki> tag does not.

Whereas the exact opposite happens with the Mylyn wikitext conversion : the <nowiki> tag appears, and the <p> tag does not.
Comment 1 David Green CLA 2013-08-02 12:43:01 EDT
Closed as part of backlog clean-up.  Please re-open if you'd like to see this revisited, perhaps with a contribution.