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
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
>
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