+-------[ Nancy Donnelly ]---------------------- | 7170 | ----- Original Message ---- | From: Jonathan <[EMAIL PROTECTED]> | | Here is the page that I need to quote, and this is why I need triple quotes: | | print """ | <html> | <body> | | <tal:block metal:define-macro="main"> | <tal:content metal:use-macro="here/templates/protect/macros/strong"></ | tal:content> | <div | tal:condition="here/Quotes | nothing" | tal:content="structure here/s/getRandomQuote" /> | <table width="100%" border="0" cellspacing="0" cellpadding="0" background= | "images/header_bg.jpg" class=header> | <tr> | <td width="76"><img src="images/header_left.jpg" alt="" width="76" height= | "37"></td> | <td align="right"><tal:block metal:define-slot="headline"><span tal:replace= | "template/title_or_id" /></tal:block></td> | <td width="76"><img src="images/header_right.jpg" alt="" width="76" height= | "37"></td> | </tr> | </table> | <table width="95%" border="0" cellspacing="0" cellpadding="0" class=main align= | "center"> | <tr> | <td><br> | | <!-- START TEXT SLOT --> | <tal:block metal:define-slot="text"></tal:block> | <!-- END TEXT SLOT --> | | </td> | </tr> | <tr> | <td> | | <br /> <br/> | | <!-- START FOOTER SLOT --> | <tal:block metal:define-slot="footer"> | <span metal:use-macro="here/templates/frame_footer/macros/main"></span> | </tal:block> | <!-- END FOOTER SLOT --> | | | </td> | </tr> | </table> | | </tal:block> | | </body> | </html> | """ | return printed
It's not going to process the TAL or METAL. Triple quotes are no different to single quotes when it comes to strings. -- Andrew Milton [EMAIL PROTECTED] _______________________________________________ Zope maillist - Zope@zope.org 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 )