title: Jsoup attribute removal on html tags
body: <p>I have the problem that i want to filter certain texts which may contain html.
  I use jsoup to whitelist and clean the tags which works pretty nice. </p>
  
  <p>I only have the problem that some of the tags can contain attributes, mostly style or classes but there could also be different attributes. (name, target, ect.) When cleaning this is no problem because they get stripped nicely but when whitelisting some tags which would be allowed get blocked because of the attributes. The basic whitelist does not seem to cover style or class attributes plus i cannot be shure what else i'm encountering. </p>
  
  <p>Since I want to allow quite a wide range of tags,  but remove most of them during cleaning, I don't want to add all attributes for all tags that I'm allowing. The simplest would be to strip all attributes from all tags, since I'm not interested in them anyway and then check if the stripped text with the plain tags is valid. </p>
  
  <p>Is there a function that removes all attributes or some simple loop, another option would be to tell the whitelister to ignore all attributes and simply whitelist on the tags.</p>