As a work-around, try "commenting out" your CDATA start/end.

<script type="text/javascript">
//<![CDATA[

// ... Do stuff ...

// ]]>
</script>


TAG

On Aug 16, 2007, at 6:06 AM, fsk wrote:

>
> Evaluating XHTML scripts (enclosed in CDATA sections) fails under
> Internet Explorer. This cause is that String.extractScripts doesn't
> strip CDATA tag.
> To fix it, just change the regexp from prototype:
> Prototype.ScriptFragment = '(?:<script.*?>(<!\[CDATA\[)*)((\n|\r|.)*?)
> (?:(\]\]>)*<\/script>)';
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to