Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349723 - Cannot create bold text inside <pre> element
Summary: Cannot create bold text inside <pre> element
Status: RESOLVED DUPLICATE of bug 381506
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 15:39 EDT by John Arthorne CLA
Modified: 2013-02-26 14:48 EST (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (5.70 KB, application/octet-stream)
2011-07-05 16:44 EDT, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***