标签: ruby-on-rails ruby forms special-characters html-entities
<%= f.label :recipient_email, "Friend’s email address" %>
’不会显示为实际角色。什么是正确的方法?
’
答案 0 :(得分:11)
<%= f.label :recipient_email, raw("Friend’s email address") %>