title: How to print a string in erb file including line breaks
body: <p>After getting an input from a user, I'm having a string like so:</p>
  
  <pre><code>str = "First line/nSecond line/nThird line"
  </code></pre>
  
  <p>When I'm trying to print it in my <code>erb</code> file like so:</p>
  
  <pre><code>&lt;%= str %&gt;
  </code></pre>
  
  <p>I'm getting only one line without any line's breaks ("First line Second line Third line")</p>
  
  <p><strong>My question is:</strong></p>
  
  <p>How to print a string in <code>erb</code> file <strong>including</strong> the line's breaks?</p>
  
  <p><em>(I guess i can replace every \n with <code>&lt;br&gt;</code> tag but I wonder if there's a better way of achieving that?!)</em></p>