Sanitize html contents