title: \n doesnt make new line when display in html/page using sails
body: <p>hi would like to know whether sails has its own function to format string variable to html? I have this scenario...</p>
  
  <p>in my controller, I have a variable whose value is something like this:</p>
  
  <pre><code>var str = "Pellentesque habitant \r\nmorbi tristique senectus et\nnetus et malesuada fames ac turpis \negestas.";
  </code></pre>
  
  <p>when I display it as html page it will display plain as this. (1 paragraph only)</p>
  
  <pre><code>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
  </code></pre>
  
  <p>but in view source</p>
  
  <pre><code>Pellentesque habitant 
  morbi tristique senectus et
  netus et malesuada fames ac turpis
  egestas.
  </code></pre>
  
  <p>I'm searching for the possible solutions for this, and found about Underscore string (<a href="https://www.npmjs.org/package/underscore.string" rel="nofollow">https://www.npmjs.org/package/underscore.string</a>) I havent tried it yet, I'm just thinking that there's other possible solutions out there without installing another module...</p>
  
  <p>Or is there any sails equivalent of php function nl2br?</p>
  
  <p>Thanks!</p>