I have a string that came from a field in my model.
# <br />
"This is my title with break <br /> in the middle"
I'm rendering it on my view:
<p>
<%= raw @model.title %>
</p>
Which outputs something like this:
<p>
This is my title with break <br /> in the middle
</p>
However, the <br /> shows up as string and not as html. Any ideas?
Thanks!