[web2py] Re: href not being rendered

2010-03-23 Thread mdipierro
I do not think this is the problem. He does not seem to be using the
A(...) helper.

On Mar 23, 9:16 am, Jonathan Lundell jlund...@pobox.com wrote:
 On Mar 23, 2010, at 1:32 AM, annet wrote:

  In a send_mail.html view I have a link which reads like:

  pHaving trouble viewing this email? a
  href={{=URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijf])}}
  target=_blankView it in your browser/a/p

  When I send the mail and open it this link reads like:

  pHaving trouble viewing this email? aView it in your browser/a/
  p

  Does one of you know why the href isn't being rendered?

 It needs to be _href= (and _target=).

-- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To post to this group, send email to web...@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.



Re: [web2py] Re: href not being rendered

2010-03-23 Thread Jonathan Lundell
On Mar 23, 2010, at 7:40 AM, mdipierro wrote:

 I do not think this is the problem. He does not seem to be using the
 A(...) helper.

Good point; my confusion.

OK, then, how about this. If the link reads like text is literally true (that 
is, we're looking at the display text, not the source text), then it's being 
encoded.

 
 On Mar 23, 9:16 am, Jonathan Lundell jlund...@pobox.com wrote:
 On Mar 23, 2010, at 1:32 AM, annet wrote:
 
 In a send_mail.html view I have a link which reads like:
 
 pHaving trouble viewing this email? a
 href={{=URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijf])}}
 target=_blankView it in your browser/a/p
 
 When I send the mail and open it this link reads like:
 
 pHaving trouble viewing this email? aView it in your browser/a/
 p
 
 Does one of you know why the href isn't being rendered?
 
 It needs to be _href= (and _target=).


-- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To post to this group, send email to web...@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.