Binary package “libhtml-scrubber-perl” in ubuntu jammy

Perl extension for scrubbing/sanitizing html

 If you want to "scrub" or "sanitize" html input in a reliable and
 flexible fashion, then HTML::Scrubber is for you.
 .
 The author was not satisfied with HTML::Sanitizer because it is based
 on HTML::TreeBuilder, so he wrote something similar that works
 directly with HTML::Parser.