This is a module which provides several HTML-parsing classes that can be used to strip out malicious or simply malformed tags from user-contributed HTML.