Skip to content

1.5.0 / 2023-01-20

Compare
Choose a tag to compare
@flavorjones flavorjones released this 20 Jan 18:54
a337ec8

1.5.0 / 2023-01-20

  • SafeListSanitizer, PermitScrubber, and TargetScrubber 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 passing prune: true to any of these classes' constructors.

    @seyerian