1.5.0 / 2023-01-20
1.5.0 / 2023-01-20
-
SafeListSanitizer
,PermitScrubber
, andTargetScrubber
now all support pruning of unsafe tags.By default, unsafe tags are still stripped, but this behavior can be changed to prune the element
and its children from the document by passingprune: true
to any of these classes' constructors.