boolean escapeXml in constructor of DomSerializer
return new DomSerializer(htmlCleanerProperties, false).createDOM(root);
did the trick. Yet another RTFM.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.