title: HTMLPurifier, check entire HTML document
body: <p>I'm using HTMLPurifier to check for XSS in an entire HTML document. The problem is that it appears to strip out anyything that isn’t inside <code>&lt;body&gt;</code> tags. But, I want to keep everything, just look out for serious XSS attacks.</p>
  
  <p>Any ideas how to allow <code>&lt;HTML&gt;</code>, <code>&lt;HEAD&gt;</code>, <code>&lt;META&gt;</code> etc.?</p>