[Zope] Structured Text Rendering and \r

2000-08-16 Thread Chris Withers
Dieter Maurer wrote: > Chris Withers writes: > > I have a list of string.strip'ped strings which I'd like to render using > Erk, they weren't actully being stripped, I meant what was supposed to the happening was \r\n and \n\r were both supposed to be replaced by

Re: [Zope] Structured Text Rendering

2000-08-15 Thread Dieter Maurer
Chris Withers writes: > I have a list of string.strip'ped strings which I'd like to render using > structured text. > > Input: > """ > sdfsdf > > - sdfsdf > > - sdfsdf > > - sdfsdf > """ > Structured text output: > """ > p>sdfsdf >

[Zope] Structured Text Rendering

2000-08-15 Thread Chris Withers
Hi, I have a list of string.strip'ped strings which I'd like to render using structured text. I'm currently trying: stx = str(StructuredText.html_with_references(join(storedLines,' \n'), level=3)) but that isn't working :( The text in the form submission is: """ sdfsdf - sdfsdf - sdfsdf