| Summary: | Character escaping incomplete | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Jan Rosczak <jan.rosczak> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | RESOLVED INVALID | QA Contact: | David Green <greensopinion> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I tried out your example on the "Confluence sandbox":http://sandbox.onconfluence.com/dashboard.action?os_username=sandbox&os_password=sandbox The rendering that you observed is consistent with the way that Confluence works. |
Build Identifier: wikitext-standalone-1.6.0-SNAPSHOT The escape character "\" only works for curly braces in the confluence language not for all special characters. For example the text "\-Hello World-" is rendered as "<p>\-Hello World-</p>" and not as "<p>-Hello World-</p>" Reproducible: Always Steps to Reproduce: MarkupParser markupParser = new MarkupParser(new ConfluenceLanguage()); String htmlContent = markupParser.parseToHtml("\\-Hello World-"); System.out.println(htmlContent);