我正在使用 Ruby on Rails 3,我想禁用HTML电子邮件中的电子邮件地址链接。
例如,如果我在电子邮件中发送一些原始 HTML,例如
Hi, you email is: <br/>
test@email.com
Gmail 自动检测到这是一个电子邮件地址并将其更改为
Hi, you email is: <br/>
<a target="_blank" href="mailto:test@email.com">test@email.com</a>
我想要这个输出
# Text without the 'mailto:' link
Hi, you email is:
test@email.com
我怎样才能做到这一点?