Redering CDATA wierdness

I am attempting to do the sortable_element tutorial from scriptaculous.
(http://demo.script.aculo.us/ajax/sortable_elements)

Upon viewing the script.aculo.us source, I see this line is generated…

When I try to do the same thing, Webrick generates the following on my
local machine…

My app is so simple I dont know what I could be doing wrong. Because
this line is treated as a comment, my page doesnt work.

Any ideas?

Thanks
paqo

On Dec 11, 2005, at 2:36 PM, paqo wrote:

parameters:Sortable.serialize(‘list’), evalScripts:true,
Effect.Highlight(‘list’,{});},
parameters:Sortable.serialize(‘list’)})}})
//]]>

This would be the xhtml way of doing things. Its possible that you’re
not actually sending an xhtml doctype, which could cause the
element to interpreted as a comment. Anyway, a url would help.

-ryan