Zope ZPT Avoid zope ZPT parsing errors when using script tags

Zope's ZPT parser doesn't recognize when tags are inside a script block. Use ascii code conversions to "trick" zope.
$('#myID').html(chr(60) + 'iframe src="http://www.blah.com"' +  chr(62) + chr(60) + '/' + 'iframe' + chr(62));
Posted by
Snippet Viewed 1526 times.

Share your Zope ZPT code snippets:

  • Get some recognition & a link back to your site.
  • Create your own code library.
  • Help your fellow developers, as they have helped you.


Submit | Browse

Most Recent zope zpt snippets

Most Viewed