Want to escape javascript using StringEscapeUtils but keep special character like é and maybe some other specified character - is it possible using this method? if not is there another way to escape JS with some sort of whitelist?
StringEscapeUtils.escapeJavaScript(letter);