Improved sanitizing of HTML content