title: Display text in Quill editor
body: <p>when I try to set text which contains "\n". It displays error - <strong>Uncaught SyntaxError: Unexpected token ILLEGAL</strong> in browser console</p>
  
  <p>In java script console I get my text as below.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    var toolbarOptions = [
      [{ 'font': [] }],
      [{ 'size': ['small', false, 'large', 'huge'] }],  // custom dropdown
      ['bold', 'italic', 'underline', 'strike'],        // toggled buttons
      //['blockquote', 'code-block'],
  
      [{ 'header': 1 }, { 'header': 2 }],               // custom button values
      [{ 'list': 'ordered'}, { 'list': 'bullet' }],
      //[{ 'script': 'sub'}, { 'script': 'super' }],      // superscript/subscript
      [{ 'indent': '-1'}, { 'indent': '+1' }],          // outdent/indent
      //[{ 'direction': 'rtl' }],                         // text direction
      [{ 'color': [] }, { 'background': [] }],          // dropdown with defaults from theme
  
      [{ 'align': [] }],
  
      ['clean']                                         // remove formatting button
    ];
    var quill = new Quill('#standalone-container', {
        modules: {
        toolbar: toolbarOptions
      },
      theme: 'snow'
    });
    var quill1 = new Quill('#standalone-container1', {
        modules: {
        toolbar: toolbarOptions
      },
      theme: 'snow'
    });
  
    $(".tacti_note_txt").click(function(){
      $("#order_video_01").get(0).pause();
    })
  
    $(".tech_note_txt").click(function(){
      $("#order_video_02").get(0).pause();
    })
  
    $(document).ready(function(){
  
      // my element which display errors
      var technical_notes = '&lt;%= raw @review.technical_notes %&gt;';
      quill.setText(technical_notes);
  
      var tactical_notes = '&lt;%= @review.tactical_notes.to_s %&gt;';
      quill1.setText(tactical_notes);
  
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to display text as below in editor:</p>
  
  <pre><code>  'Rails
     and
     quill
     editor
     ;
  </code></pre>