Strip dangerous HTML content, fork of work by Roman Ivanov