Hey Pau, Andrii, 2009/8/28 Pau Garcia i Quiles <[email protected]>: > He is already using XHTMLUnsafeText, see the last line in his code: > > new Wt::WText(os.str(), Wt::XHTMLUnsafeText, table->currentCell()); > > Weird.
Oops, and I get it now. '&' is replaced by '&' after the browser has interpreted the attribute value. But since the attribute value is supposed to be XML, this will fail for the next XML interpreter. So you should indeed like Pau suggests call escapeText() which will add another layer of escaping, to send &amp; to the browser. Regards, koen ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
