As quoted from Andreas Hocevar <[EMAIL PROTECTED]>:
> serializedDoc.unescape is the wrong way to do it. The correct way is
> serializedDoc.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&");
> 
> This is also used in lib/widget/TipWidgetOL.

But you need to do that only if for some reason you need to unescape
stuff, which should normally be unnecessary.

> Note that just returning
> the serializedDoc also will not produce the expected result.

Why not?  It is correct XML, and should be output as such.

Regards,
-- 
-- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to