Andreas Hartmann schrieb:
The XHTMLSerializer, or, more specifically, the XHMLEncoder, from the serializers block in Cocoon 2.1.x escapes all characters with a corresponding HTML 4.0 character entity reference into this entity reference. This causes issues with inline JavaScript, since e.g. the double quotes are transformed to " which causes a JavaScript parsing error. Another minor negative effect is the increased document size.
I just tried to use the XMLEncoder instead, but it also inserts the entities " and '. Is there a particular reason for this behaviour?
-- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: +41 (0) 43 818 57 01
