私はこのリンクを持っています:
<div class="email_button">
<%= link_to "mailto:?subject=#{t('.incredible')}#{@product.title}&body=#{t('.hi')},%0A%0A #{t('.check_it')}#{@canonical_url}", :title => "#{t('.send_email')}", :class => "btn btn-small", :target => "_blank", :rel => "nofollow" do %>
<i class="icon-envelope"></i>
<%= "Email" %>
<% end %>
</div>
生成された html:
<a title="Send by email" target="_blank" rel="nofollow" class="btn btn-small" href="mailto:?subject=Incredible. Product title &body=Hi,%0A%0A Take a look: http://www.mydomain.com/es/products/myproduct-1">
<i class="icon-envelope"></i>
Email
</a>
このコードは、訪問者の電子メール マネージャー内で新しい電子メールを開きます。は、 html リンクhttp://www.mydomain.com/es/products/myproduct-1
のように表示されません。テキストリンクのように表示されます。
テキスト リンクではなく HTML リンクを訪問者の電子メール マネージャーに送信するにはどうすればよいですか?