On 14-10-2008 at 10:08:15 Ernesto Baschny [cron IT] <[EMAIL PROTECTED]>
It would be cool to have a "tal:cdata=" boolean value, where one could
switch on generation of CDATA wrapping automatically, so one could write:
<script tal:content="structure myJsCode" tal:cdata="true"></script>
And doesn't have to remember all kinds of required CDATA quoting.
Something like that would be nice indeed. I think it would be even better
if PHPTAL could automatically add CDATA to <script> when it's needed.
PHPTAL mailing list