| Summary: | subscript & superscript conversion fails for Textile | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Alex Dancu <alex.dancu> | ||||
| Component: | Mylyn | Assignee: | David Green <greensopinion> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | David Green <greensopinion> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Jan | ||||
| Version: | unspecified | Keywords: | helpwanted | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Alex Dancu
Thanks for the bug report. Can you please clarify what markup language you're using? (In reply to comment #1) > Thanks for the bug report. Can you please clarify what markup language you're > using? Sorry, I forgot to mention that the problem appears for Textile. 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(); } Best Regards, Alex D Using [] is a Textile 2.0 expression to allow for inline tags. Normally, Textile requires surrounding whitespace for tags. Eg: =="one *two* three"== however in some cases the tags are desired mid-word, for example =="one*two*three"==. Textile 2.0 supports this via syntax like this: =="one[*two*]three"== sorry, this one didn't make it for Indigo. Created attachment 198299 [details]
mylyn/context/zip
Closed as part of backlog clean-up. Please re-open if you'd like to see this revisited, perhaps with a contribution. |