Just published a new helper package https://thi.ng/hiccup-sanitize to cleanup a ...

@toxi@mastodon.thi.ng

Just published a new helper package thi.ng/hiccup-sanitize to cleanup a hiccup component/element/HTML/SVG/XML tree. Supports removing/keeping user-defined attributes and/or elements (and their entire sub-trees).

#ThingUmbrella #ReleaseDay #OpenSource #Hiccup #Sanitze #TypeScript #JavaScript