’ not displayed as act...">

HTML objects / special characters in tag label tags

<%= f.label :recipient_email, "Friend&rsquo;s email address" %> 

&rsquo; not displayed as actual character. What is the right way?

+4
source share
1 answer
 <%= f.label :recipient_email, raw("Friend&rsquo;s email address") %> 
+10
source

Source: https://habr.com/ru/post/1347333/


All Articles