From: "Jacques Le Roux" <jacques.le.r...@les7arts.com>
From: "Adam Heath" <doo...@brainfood.com>
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, "
You are encoding for request parameters, what you need to do is encode
for xml/html content.
As I said it's not the problem, try...
The reason is that, yes you want to encode for xhtml, but you have Freemarker
in the middle...
Jacques
Jacques