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 1354 times.

Share your Zope ZPT code snippets:

  • Get some recognition & link back to your site.

 

Submit | Browse

Most Recent zope zpt snippets

Most Viewed