This really dependse on what is the text. One way to handle it is
replace

{{=text}}

with

{{=DIV(*[P(p) for p in text.split('\n'')])}}



On Jun 7, 1:48 pm, pk <peter.kirch...@youngdesigners.de> wrote:
> oh sorry,
> i think i pressed my self wrong. when i enter text in textbox and i
> need a newline or two and per submit i save it in the table
> i don`t get the newlines when i will show the text in another site
>
> On 7 Jun., 19:34, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > It will show the <br> by default if the are in the stored data. text
> > is always escaped.
>
> > On Jun 7, 12:13 pm, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > > Hi together,
>
> > > I have a Textfield and save the content in a table with ('text'). When
> > > i will show the content on a website, how can i show the <br> ?
>
> > > thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to