I’m having a problem formatting some text. I have a textarea that I
input my text into, which will then be put into an e-mail and sent out.
The problem I am having is when there is a single line break.
Multiple line breaks work fine (hitting enter twice), but single line
breaks don’t seem to work properly.
Take the following input:
Using <%= textilize @body %> gives me:
Knowing that there’s an issue in rails with hard_breaks and
textilize, I tried RedCloth.new(@body).to_html, which gave me:
Am I missing something??