[web2py] newline in Linktext

2012-08-05 Thread BlueShadow
I like to have a link which has two lines of text. I tried someting like this: {{=A(XML(i.A.ShortTitle+\n+i.Title) ,_href=URL(r=request,f='Article',vars=dict(id=i.id)))}} but it doesn't work. Anyone knows what I need to do to get the desired result? --

Re: [web2py] newline in Linktext

2012-08-05 Thread Bruno Rocha
{{=A(XML(i.A.ShortTitle+br /+i.Title) ,_href=URL(r=request,f=' Article',vars=dict(id=i.id)))}} On Sun, Aug 5, 2012 at 6:02 PM, BlueShadow kevin.bet...@gmail.com wrote: {{=A(XML(i.A.ShortTitle+\n+i.Title) ,_href=URL(r=request,f='Article',vars=dict(id=i.id)))}} --