Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328877 - [Help] Remote CSH truncated at html tags
Summary: [Help] Remote CSH truncated at html tags
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Chris Austin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 15:01 EDT by Chris Austin CLA
Modified: 2010-11-15 14:18 EST (History)
0 users

See Also:


Attachments
Patch to encode xml description field (995 bytes, patch)
2010-10-27 15:30 EDT, Chris Austin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Austin CLA 2010-10-27 15:01:04 EDT
When accessing context sensitive help stored remotely, the help is returned in xml format.  Context Sensitive Help which includes tml tags, such as <b> cause the xml to be malformed, and the resulting help display is truncated up to the first html tag.
Comment 1 Chris Austin CLA 2010-10-27 15:30:04 EDT
Created attachment 181868 [details]
Patch to encode xml description field

Using the UrlUtil.htmlEncode() on the context description allows the xml to be returned properly.  The Eclipse Help View is able to read the encoded text properly and display the correct help text in the display.
Comment 2 Chris Austin CLA 2010-11-15 14:18:03 EST
Patch committed to HEAD.