jhy/jsoup — pull request #346 by jkrasnay (2013-07-11 15:10:41+00:00)
Title: Implement EscapeMode.xhtml_minimal

This patch implements EscapeMode.xhtml_minimal, which is like Escapemode.xhtml but does not encode single and double quotes when serializing text nodes.

Aside from reducing the size of the emitted text, this fixes my particular problem where Velocity directives inside the HTML were being mangled.