Upgraded library to match with HTML Purifier 4.5.0