[Radiant] radiant equivalent to rails' mail_to?

Bodhi bodhi at theplant.jp
Mon Sep 4 22:50:38 CDT 2006


On Sep 4, 2006, at 1:04 AM, 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") %>.

The markdown text-filter will encode the address into html entities  
if that is all you need.

Bodhi



More information about the Radiant mailing list