title: How to render textarea input with new line
body: <p>I have a textarea:</p>
  
  <pre><code>&lt;textarea type="text" name="note" placeholder = "note" value="{{note}}"cols="50" rows="10"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>This line gets the value of the textarea input:</p>
  
  <pre><code>note = self.request.get('note')
  </code></pre>
  
  <p>I first tried committing just this to the database, but the rendered note doesn't have the original line breaks. I then tried inserting these lines after the above code</p>
  
  <pre><code>note = note.replace('\n', '&lt;br&gt;')
  </code></pre>
  
  <p>and </p>
  
  <pre><code>note = note.replace('\n', '&amp;#13;&amp;#10;')
  </code></pre>
  
  <p>and </p>
  
  <pre><code>note = note.replace('\n', '\r\n')
  </code></pre>
  
  <p>But none of them worked. How can I preserve the original new lines in the rendered input?</p>