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

Bug 328877

Summary: [Help] Remote CSH truncated at html tags
Product: [Eclipse Project] Platform Reporter: Chris Austin <ChrisAustin>
Component: User AssistanceAssignee: Chris Austin <ChrisAustin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to encode xml description field none

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.