[Radiant] radiant equivalent to rails' mail_to?

John W. Long ng at johnwlong.com
Mon Sep 4 08:19:31 CDT 2006


Patrick Crosby wrote:
> Is there a radius tag that does the equivalent of rails' mail_to tag?
> I want to encode mailto links so it is harder for spambots to harvest
> any email addresses.  In rails, I would do the following:
> 
> <%= mail_to("info at website.com", "info at website.com", :subject =>
> "Product Question", :encode => "javascript") %>.

There has been some talk of adding support for this, but nothing has 
made it into the core.

--
John Long
http://wiseheartdesign.com



More information about the Radiant mailing list