Revert "switch to StringEscapeUtils#escapeHtml4"

This reverts commit 2f54320f25bc921df9f89c223777961ce630392f.