title: Parsing newline characters in textareas without allowing all html tags
body: <p>I have a textarea field where users can enter content. When it comes to displaying their entry on a page, rails returns <code>\n</code> for each line break, which appears as no break at all for html on the page.</p>
  
  <p>From what I gather, the standard way of getting around this is a <code>.gsub</code> command, replacing <code>\n</code> with <code>&lt;br /&gt;</code>, and then a <code>.html_safe</code> on the end to ensure the <code>&lt;br /&gt;</code> renders.</p>
  
  <p>The problem is, I don't want to html_safe the content - html should still be replaced, but <code>&lt;br /&gt;</code> tags should be injected into the (non-escaped) content.</p>
  
  <p>Suggestions appreciated.</p>