[ZPT] Tags not allowed inside script blocks?

Fred L. Drake, Jr. fdrake@acm.org
Tue, 12 Jun 2001 15:36:47 -0400 (EDT)


Hamish Lawson writes:
 > I want to insert the value of a template variable into a JavaScript
 > code block. By making the <script> element active, do you mean making
 > the whole content of the script be a huge multiline tal:content
 > attribute of the <script> tag (with appropriate embedded $
 > interpolators for the template variables)? This presumably also means

  The long attribute value is a real pain; I like Evan's solution of
using multiple <script> elements.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations