Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 243625 - [Context Help Editor] Keep <b></b> tags as they are when entered in Description box
Summary: [Context Help Editor] Keep <b></b> tags as they are when entered in Descripti...
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.5 M5   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 243630
  Show dependency tree
 
Reported: 2008-08-08 15:13 EDT by Danny Vacar CLA
Modified: 2009-01-19 16:34 EST (History)
2 users (show)

See Also:


Attachments
patch (15.27 KB, patch)
2009-01-12 18:01 EST, Benjamin Cabé CLA
caniszczyk: iplog+
Details | Diff
mylyn/context/zip (2.25 KB, application/octet-stream)
2009-01-12 18:01 EST, Benjamin Cabé CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Vacar CLA 2008-08-08 15:13:39 EDT
1) Open a context file in the Context Help Editor
2) Create or edit an existing context in the editor view (not source) and add <b> </b> tags around some content.

Current behaviour: When looking at the source code the <b> </b> tags are transformed to HTML equivalents &lt;b&gt; &lt;/b&gt; which are not parsed properly by the help system (they show up as &lt;b&gt; &lt;/b&gt;).

Desired behaviour: Don't change the tags, add them to the source code as is.
Comment 1 Benjamin Cabé CLA 2009-01-12 18:01:31 EST
Created attachment 122348 [details]
patch

The way 'collapsed' nodes are handled has been refactored (was addressed in SimpleCSDocumentHandler scope only, now pulled up into NodeDocumentHandler) in order to allow unescaped content to be added under CtxHelpDescription nodes
Comment 2 Benjamin Cabé CLA 2009-01-12 18:01:36 EST
Created attachment 122349 [details]
mylyn/context/zip
Comment 3 Chris Aniszczyk CLA 2009-01-12 18:03:05 EST
Thanks Benjamin.
Comment 4 Chris Aniszczyk CLA 2009-01-19 16:32:33 EST
Looks good.

I removed a stray System.out