title: Summernote not showing me source code it is showing code output
body: <p>I have used this script for summernote </p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
      $(function() {
        $('.summernote').summernote({
          height: 200
        });
  
        $('form').on('submit', function (e) {
          alert($('.summernote').code());
        });
      });
    &lt;/script&gt;
  </code></pre>
  
  <p>Now here the problem is if I text this bellow code </p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;&lt;title&gt;global scope post&lt;/title&gt;&lt;/head&gt;
      &lt;body&gt;
          &lt;form action="" method="post"&gt;
              Name:&lt;input type="text" name="name"&gt;
              &lt;button&gt;Submit&lt;/button&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is giving me output of the the code like as below image.</p>
  
  <p><img src="https://i.stack.imgur.com/GyMSn.jpg" alt="enter image description here"></p>
  
  <p>How I will define code in summernote ? Here I have tried code tag but the result is same.</p>