[Nitro] CDATA disappears

Lars Olsson lasso at lassoweb.se
Sat Nov 25 08:09:14 EST 2006


Attached patch fixes this issue. Can you apply this, George?


Sincerely

/lasso

-- 
________________________________________
Lars Olsson
lasso at lassoweb.se
http://www.lassoweb.se/



Noé Rubinstein skrev:
> Hello, world !
> 
> When I put a CDATA section in a Nitro .xhtml file, it is removed by
> Nitro's parser.
> 
> example :
> I write :
> <script>
> // <![CDATA[
> alert('hello world')
> // ]]>
> </script>
> 
> I get in the final page :
> <script>
> //
> </script>
> 
> Is there a way to put a CDATA section in a Nitro page without it being removed ?
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nitro_compiler_cdata_fix.gz
Type: application/gzip
Size: 1425 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061125/9d9f731b/attachment-0001.bin 


More information about the Nitro-general mailing list