HTML Purifier validation for Thorium