added support for document fragment sanitization