It escapes the characters inside the SCRIPT block before processing, why is why you can't do any TALES or anything else really in there...
On 4/24/07, Andreas Jung <[EMAIL PROTECTED]> wrote:
--On 25. April 2007 00:41:19 -0500 Jeff Rush <[EMAIL PROTECTED]> wrote: > Andreas Jung wrote: >> >> As far as I can recall: you can't use TALES within a SCRIPT block. >> That's why you must generate your stuff outside inside a script. > > Ah thanks I wasn't aware of that exclusion, never having tried it or > found it documented. Then yes your approach is the only one left. > The reason is obvious: Usually you don't have any markup with <script>..</script>. Still not getting why generate <img> within a <script> tag...appears like broken-by-design to me...but I don't care. -aj _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Thanks, Derek Wilson
_______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
