542496: Fix escape behavior in Creole Document Builder

- The previous approach of replacing the tilde literal with its entity
reference when writing to Creole was incorrect, as it would not be
converted back to a literal when parsed via Creole Language
- A better approach is to escape any literal tildes by adding a
preceding tilde. Ie., '~' will be written to Creole as '~~'.
- CreoleLanguage is capable of detecting the first of these two tildes
as an escape then reading the second as a literal, thus ensuring that
during the round trip the tilde is kept intact
- Also added some additional special characters that should be escaped
with a tilde

Change-Id: If0ed1c10ed6ff961f1f15a02ec36fa693b2c6ee3
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=542496
Signed-off-by: Kevin de Vlaming <kevin.devlaming@tasktop.com>
4 files changed
tree: ebac44a62b662744ca5e18748bb08cbc5033181d
  1. docs/
  2. epub/
  3. wikitext/
  4. .gitignore
  5. CONTRIBUTING.txt
  6. docs-pom.xml
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

org.eclipse.mylyn.docs

Developer resources:

Information regarding source code management, builds, coding standards, and more.