Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357365

Summary: [mediawiki] <nowiki> not handled inside <code> tag
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: RESOLVED WONTFIX QA Contact: David Green <greensopinion>
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.