- From: Robin Berjon <robin@w3.org>
- Date: Mon, 21 Oct 2013 12:39:40 +0200
- To: shane@aptest.com
- CC: Shane McCarron <ahby@aptest.com>, Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, "spec-prod@w3.org" <spec-prod@w3.org>
On 21/10/2013 04:04 , Shane McCarron wrote: > Okay - I am on it. I suspect that the browsers (some anyway) are going > to strip the CDATA nodes out. I might end up just injecting the best > practice CDATA into each relevant section (style and script) as per > http://www.w3.org/MarkUp/2010/ED-xhtml-media-types-20100218/#compatGuidelines in > guideline A.4 Irrespective of what the browser does, the XML serialiser treats CDATA section in the same way as text nodes anyway: https://github.com/darobin/respec/blob/develop/js/ui/save-html.js#L179 So if they are supposed to be kept, that's where the issue is. -- Robin Berjon - http://berjon.com/ - @robinberjon
Received on Monday, 21 October 2013 10:39:50 UTC