Hi Scott, Thanks a lot, I've tried that, and it works (when escapeXml = false in the DomSerializer, which I missed at first). I guess that this is OK with html and XML serializers as they always call escapeXml when serializing attributes? Cheers, Stuart
I'm trying using htmlcleaner as a front end to flying saucer, to render html. I'm creating a DOM using DomSerializer, then passing to flying saucer. I'm in process of replacing tagsoup with htmlcleaner, as it seems more comprehensive and maintained, but I'm having a problem with entity references in URLs. My application uses URLs like /report?section=1&mimeType=imagePng. It seems clear that the correct way to encode this URL in html is for example <img src="/report?section=1&mimeType=imagePng"...