a fork of DOMPurify for text-hd-gadget