Hi,
I am trying to figure out how to convert line breaks to html line
breaks ie
Text is imput and saved as:
Which structures traverse above the annulus of Zinn?
A) Lacrimal nerve
B) Frontal nerve
C) Nasociliary nerve
D) CN IV
E) CN III
but, I have a text field in my show action view with the following:
<%= “#{@formatted_question[:question]}” %>
which produces:
Which structures traverse above the annulus of Zinn? A) Lacrimal nerve
B) Frontal nerve C) Nasociliary nerve D) CN IV E) CN III
The line breaks are still there, they just aren’t being converted to
HTML line breaks. I can see them when I view the source.
How can I get the line breaks back??
Thanks,
Dave