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