Is there some way to add automatically
/*<![CDATA[*/
/*]]>*/
on start and end of js scripts? Something like this works:

<tal:block tal:condition="exists:js">
<script type="text/javascript" src="inc/jquery-1.2.6.js"/>
<script type="text/javascript"><tal:block replace="structure '/*<![CDATA[*/'"/>
<tal:block metal:define-slot="js"/>
<tal:block replace="structure '/*]]>*/'"/></script>
</tal:block>

But i don't know, is it ok?


cheers!
szymek

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to