You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Andreas Hartmann <an...@apache.org> on 2009/01/23 12:17:36 UTC

Re: Avoid escaping chars in script/style only in HTMLSerializer? (Re: svn commit: r515096)

Antonio Gallardo schrieb:
> Andreas Hartmann escribió:
>> Hi Carsten,
>>
>> cziegeler@apache.org schrieb:
>>> Author: cziegeler
>>> Date: Tue Mar  6 04:11:29 2007
>>> New Revision: 515096
>>>
>>> URL: http://svn.apache.org/viewvc?view=rev&rev=515096
>>> Log:
>>> Correctly handle content of script and style tag as cdata for html.
>> is there a particular reason why this change hasn't been applied to
>> the XHTMLSerializer as well? IIUC, the script/style CDATA handling is
>> also defined for XHTML [1].
> 
> I think this is a better solution. Please implement it in this way. Move
> the code from HTMLSerializer to XHTML Serializer. Thanks for taking care
> of this long standing issue.

Thanks for your comment!

I have pulled up the special handling for script/style from the 
HTMLSerializer to the XHTMLSerializer in both the 2.1 and 2.2 branch.

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01