| Summary: | [Textile] markup editor preview fails when & and ; on the same line | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Shawn Minto <shawn.minto> | ||||||||
| Component: | Mylyn | Assignee: | David Green <greensopinion> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | David Green <greensopinion> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 1.6.0 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Shawn Minto
There are two aspects to this bug: * & and ; on the same line were sometimes incorrectly detected as an HTML entity reference even if there were spaces between them * an unknown entity reference such as @&foobar;@ would cause unpredictable text presentation behaviour I've pushed a fix for the first problem. The second issue will require further investigation. Created attachment 206737 [details]
mylyn/context/zip
created review http://review.mylyn.org/#change,110 Created attachment 207121 [details]
screenshot showing result of fix
fix applied: @HtmlDocumentBuilder@ can now filter entity references so that entity names are converted to numeric entities, and unrecognized entities are emitted as characters instead. This makes it possible to safely use HTML entities in a @MarkupViewer@, and unknown entity references won't break markup rendering.
Fixed Created attachment 207122 [details]
mylyn/context/zip
|