beginning work on sanitizeHTMLEntities method