anansi wrote:
<snip>
> <%= entry.news %> <br>
<snip>
> But the problem is that I have now textformatting inside the entry.news
> field. E.g. how can I insert <br> after each line in entry.news?
<%= entry.news.split("\n").join("<br />") %>
or
<%= entry.news.gsub("\n", "<br />") %>
--
Alex