jhy/jsoup — pull request #449 by phantomspectre (2014-08-13 21:37:35+00:00)
Title: Whitelist Removal Methods

Added methods to whitelist to allow for the removal of tags, attributes and protocols. This would allow someone to start with one of the standard whitelists then narrow it to suit their requirements.

```java
// Basic whitelist without blockquote or q
Whitelist.basic().removeTags("blockquote", "q")

// Relaxed, disallowing align attributes on all tags
Whitelist.relaxed().removeAttributes(":all", "align")

// Basic without rel=nofollow on links
Whitelist.basic().removeEnforcedAttributes("a", "rel")

// Relaxed, disallowing ftp and mailto protocols on links
Whitelist.relaxed().removeProtocols("a", "href", "ftp", "mailto")
```