Radiant equivalent to rails' mail_to?

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(“[email protected]”, “[email protected]”, :subject =>
“Product Question”, :encode => “javascript”) %>.

but i can’t find anything like that in radiant…

thanks.

patrick

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(“[email protected]”, “[email protected]”, :subject =>
“Product Question”, :encode => “javascript”) %>.

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


John L.
http://wiseheartdesign.com

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(“[email protected]”, “[email protected]”, :subject =>
“Product Question”, :encode => “javascript”) %>.

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

Bodhi