Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails string to html

<% @string = "<h1>foo</h1>" %>

<%= @string.html_safe %>
 
PREVIOUS NEXT
Tagged: #rails #string #html
ADD COMMENT
Topic
Name
1+9 =