530672: Fix ConfluenceDocumentBuilder from escaping known entity refs

* entity references now bypass call to ContentBlock#write() where
escaping logic is, instead just emit all characters unescaped

* if entity reference matches a known equivalent string, we will just
return the string instead of an escaped version of the entity reference

* added unit tests to ensure proper entity reference conversions and
character escaping

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=530672
Change-Id: I13a0a29d22887aaaa4f20f9dfb2aec14f610b2bd
Signed-off-by: Ryan Nosworthy <ryan.nosworthy@tasktop.com>
2 files changed
tree: df91a74ff2f60ba009047957e2c1e1d63cf768f4
  1. docs/
  2. epub/
  3. wikitext/
  4. .gitignore
  5. CONTRIBUTING.txt
  6. docs-pom.xml
  7. pom.xml
  8. README.md
README.md

org.eclipse.mylyn.docs

Developer resources:

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