Added version constraint to sanitizeHtml