From: "Jacques Le Roux" <jacques.le.r...@les7arts.com>
From: "Adam Heath" <doo...@brainfood.com>
Jacques Le Roux wrote:
tooltip.replaceAll("\"", "&quot;"), 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.

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


Reply via email to