add max height and max width as valid style attributes
clear the contents of style and script tags instead of escaping them
expose safeTagName