Jacques Le Roux wrote:
>> tooltip.replaceAll("\"", """), also handling any other weird html
>> characters, like < or > or &.
> 
> In UtilHttp.java I tried to create (and use in appendTooltip)
> public static String encodeQuotes(String htmlString) {
> return htmlString.replaceAll("\"", "%34");
> }

That's the wrong encoding, &quot;

You are encoding for request parameters, what you need to do is encode
for xml/html content.

Reply via email to