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

Bug 349723

Summary: Cannot create bold text inside <pre> element
Product: z_Archived Reporter: John Arthorne <john.arthorne>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: dev
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description John Arthorne CLA 2011-06-17 15:39:08 EDT
Wikimedia supports bolding text inside <pre> blocks, for example:

  <b>This is bold</b>
  '''This is also bold'''

However wikitext translates this as:

<pre>
  &lt;b&gt;This is bold&lt;/b&gt;
  '''This is also bold'''
</pre>

It should instead preserve the <b></b> tags and convert the ''' markup into <b> or <strong> blocks.
Comment 1 David Green CLA 2011-07-05 16:44:09 EDT
Thanks for the bug.  Attached relevant context.
Comment 2 David Green CLA 2011-07-05 16:44:11 EDT
Created attachment 199151 [details]
mylyn/context/zip
Comment 3 Jeremie Bresson CLA 2012-10-15 09:23:50 EDT
I think this is a duplicate of 
Bug 381506 - [MediaWiki] Support markups and tags in pre-formatted blocks. 

See @MediaWikiLanguageTest.testPreformattedWithMarkup()@

I wasn't aware of this bug when I opened mine.
Comment 4 David Green CLA 2013-02-26 14:48:00 EST
Verified, thanks Jeremie.

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