HTML::Parser-based snippet cleaner and sanitizer