title: html/templates - Replacing newlines with <br>
body: <p>I'm loading a text file that has newlines in it, and pass it to <code>html/templates</code>.</p>
  
  <p>Substituting the <code>\n</code> with <code>&lt;br&gt;</code> in the loaded string, they are escaped by the template to html <code>&amp;lt;br&amp;gt;</code> and displayed in the browser, instead of causing a line return.</p>
  
  <p>How can I change this behavior without switching to <code>text/templates</code> (which doesn't have XSS protection)?</p>