Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341208 - HTML symbols names are escaped.
Summary: HTML symbols names are escaped.
Status: RESOLVED FIXED
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: David Green CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 06:52 EDT by Alex Dancu CLA
Modified: 2011-04-05 13:40 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (32.03 KB, application/octet-stream)
2011-04-05 13:40 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 Alex Dancu CLA 2011-03-29 06:52:00 EDT
Build Identifier: mylyn-wikitext-standalone-3.5.0.I20110104-0100

Examples:
© becomes ©
≥ becomes ≥



Reproducible: Always

Steps to Reproduce:
1.
Using MarkupParser programatically: 
public String toHtml(String textileContent) {
 StringWriter writer = new StringWriter(); 
 HtmlDocumentBuilder builder = new HtmlDocumentBuilder(writer);
 builder.setEmitAsDocument(false);
 MarkupParser parser = new MarkupParser();
 parser.setBuilder(builder);
 parser.setMarkupLanguage(new TextileLanguage());
 parser.parse(textileContent);
		
 return writer.toString();
}
2. If 'textileContent' contains an HTML symbol, like '≥';
3. Then the output for '≥' is '≥'

This doesn't happen using textile reference implementation on http://textile.thresholdstate.com/
Comment 1 David Green CLA 2011-04-04 12:28:32 EDT
Thanks for the great bug report.
Comment 2 David Green CLA 2011-04-05 13:40:30 EDT
fixed
Comment 3 David Green CLA 2011-04-05 13:40:33 EDT
Created attachment 192581 [details]
mylyn/context/zip