title: Summernote html code view when htmlMode true is not working fine with codemirror
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function () {
      $('.summernote').summernote({
          codemirror: {
              theme: 'monokai',
              htmlMode: true
          }
      });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;textarea class="summernote"&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;
  &lt;p&gt;Testing html &lt;/p&gt;
  &lt;p&gt;&lt;br&gt; formatting&lt;br&gt;&lt;/p&gt;&lt;/textarea&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When you click code view, it doesn't format html properly, it does xml instead. As you can see, <code>&lt;br&gt;</code> tags are interpreted as invalid xml tag, however <code>htmlMode: true</code> is set and is supposed to be used to interpret the content as html.</p>