Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Rails 2 では <%=h %> を使用して RedCloth によって生成された HTML を表示しますが、Rails 3 ではどうすればよいですか?
<%= raw RedCloth.new(@review).to_html %>
を使用し<%= raw %>ます。
<%= raw %>
参照:HTMLをエスケープ解除するためのraw vs. html_safe vs. h