On 3/10/06, Max M <[EMAIL PROTECTED]> wrote: > There has been a bug in Zope since ages, where multiline python in tal > fails if it has Window line endings. > > Eg. this will fail with windows line endings: > > <div tal:content="content python:' '.join(['oh', > 'bugger'])">
Hmm; I'll investigate if I can reproduce this and see if the same fix (universal line endings) will solve this too. I strongly suspect the fix will be just as easy (line 81 of FSPageTemplate.py, add a 'U' to the file opening flags). The harder bit is the tests.. -- Martijn Pieters
_______________________________________________ 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 )
