Felix Schwarz schrieb:
> With Genshi I would suggest using something like:
> <py:for each="line in content.split('\n')">${line}<br/></py:for>
> Probably you can do something similar with Kid, too.

This is a version that works with Kid:

<p py:for="line in lines.splitlines()" py:strip="True">$line<br/></p>

Note that "content" is a reserved name here.

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to