title: Converting a newline from JS to HTML with Node.js
body: <p>Supposing that I have an object <code>data</code> defined as follows:</p>
  
  <pre><code>res.render('index', {
      data: 'Line one\nLine two' });
  </code></pre>
  
  <p>How can I properly render its value in html (by using Jade as template engine) splitting the text on two lines?</p>
  
  <p><strong>Note:</strong> by using <code>\&lt;br\&gt;</code> instead of <code>\n</code>, it still doesn't work.</p>