Fixed sanitizeHtml on null