class JGrowlUtil {

    static String escape(String origMsg) {
        final String escaped = Strings.escapeMarkup(origMsg).toString();

        // convert (what would originally have been either) ' or " to '
        return escaped
                .replace("&quot;", "'")
                .replace("&#039;", "'");
    }

    private  JGrowlUtil();

}