10 Mar
2006
10 Mar
'06
11:01 a.m.
On 3/10/06, Max M <maxm@mxm.dk> 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