title: Using new line(\n) in string and rendering the same in HTML
body: <p>I have a string say</p>
  
  <pre><code>string display_txt = "1st line text" +"\n" + "2nd line text";
  </code></pre>
  
  <p>in Jquery, I am trying to use </p>
  
  <pre><code>('#somediv').html(display_txt).css("color", "green")
  </code></pre>
  
  <p>quite clearly I am expecting my msg to be displayed in 2 lines, but instead \n is being displayed in the message. Any quick fixes for that?</p>
  
  <p>Thanks,</p>