title: HTMLPurify - Disable Javascript
body: <p>I use HTMLPurify for disabling JavasSript in a textarea.</p>
  
  <p>My problem is: </p>
  
  <pre><code>$config = HTMLPurifier_Config::createDefault();
  $purifier = new HTMLPurifier();
  $va = $purifier-&gt;purify($va);
  </code></pre>
  
  <p>This removes script tags, but does not remove <code>[a href='javascript:...']link[/a]</code></p>
  
  <p>What should I do to remove the bad links and retain good links?</p>