| Summary: | HTML symbols names are escaped. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Alex Dancu <alex.dancu> | ||||
| Component: | Mylyn | Assignee: | David Green <greensopinion> | ||||
| Status: | RESOLVED FIXED | QA Contact: | David Green <greensopinion> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Thanks for the great bug report. fixed Created attachment 192581 [details]
mylyn/context/zip
|
Build Identifier: mylyn-wikitext-standalone-3.5.0.I20110104-0100 Examples: © becomes &copy; ≥ becomes &ge; 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 '&ge;' This doesn't happen using textile reference implementation on http://textile.thresholdstate.com/