I would like to use DOMPurify to sanitise some HTML content, but I'd like to preserve the HTML comments. Is that possible?
You can see what it does in this example - if you enter markup with a comment the comment is stripped out.
DOMPurify seems very configurable, but the docs don't mention what term to use to specify HTML comment as an allowed tag.