title: How to show String new lines on gsp grails file?
body: <p>I've stored a string in the database. When I save and retrieve the string and the result I'm getting is as following:</p>
  
  <blockquote>
    <p>This is my new object</p>
    
    <p>Testing multiple lines</p>
    
    <p>-- Test 1</p>
    
    <p>-- Test 2</p>
    
    <p>-- Test 3</p>
  </blockquote>
  
  <p>That is what I get from a println command when I call the save and index methods.</p>
  
  <p>But when I show it on screen. It's being shown like:</p>
  
  <blockquote>
    <p>This is my object Testing multiple lines -- Test 1 -- Test 2 -- Test 3</p>
  </blockquote>
  
  <p>Already tried to show it like the following:</p>
  
  <pre><code>${adviceInstance.advice?.encodeAsHTML()}
  </code></pre>
  
  <p>But still the same thing.</p>
  
  <p>Do I need to replace \n to <br/> or something like that? Is there any easier way to show it properly?</p>