[web2py] Re: BR in default.py

2011-10-02 Thread lucas
yes anthony, both of those worked in the way you prescribed. thank you so much and have a nice day. lucas

[web2py] Re: BR in default.py

2011-10-02 Thread Anthony
Try CAT('dude man', BR()) Note, CAT() is new and only recently added to the book (previously, you would have done TAG['']('dude man', BR())). XML('dude man') should also work. Anthony On Sunday, October 2, 2011 5:03:25 PM UTC-4, lucas wrote: > > ok, i must be missing something, because that is

[web2py] Re: BR in default.py

2011-10-02 Thread Massimo Di Pierro
What do you mean by "not working". What is in the view? What do you see? On Oct 2, 4:03 pm, lucas wrote: > ok, i must be missing something, because that is not working.  i am > running web2py v1.98.2 on apache 2.2.15 on centos 6.0.  lucas

[web2py] Re: BR in default.py

2011-10-02 Thread lucas
ok, i must be missing something, because that is not working. i am running web2py v1.98.2 on apache 2.2.15 on centos 6.0. lucas

[web2py] Re: BR in default.py

2011-10-02 Thread Massimo Di Pierro
body = XML('dude man',BR()) return dict(body=body) On Oct 2, 11:43 am, lucas wrote: > hello one and all, > > i am trying to insert the html tag under default.py in index(), > something like: > > def index(): >   body = 'dude man'+BR() >   return dict(body=body) > > which blows and gives an Inter