I am using HTMLPurifier to validate XSS throughout an HTML document. The problem is that it seems to highlight everything that is not inside the tags <body>. But I want to save everything, just looking at serious XSS attacks.
Any ideas on how to resolve the <HTML>, <HEAD>, <META>etc.
source
share