title: wp_editor always convert <br> to <p>&nbsp;</p>
body: <p>I create a custom plugin that has a <code>wp_editor</code> on the admin, now when I put some html tags in the editor in <code>Text</code> view tab like <code>&lt;br&gt;</code> and click on the <code>Visual</code> tab.. the <code>&lt;br&gt;</code> converts into <code>&lt;p&gt;&amp;nbsp;&lt;/p&gt;</code> when I back to <code>Text</code> tab.</p>
  
  <p>this is my php code:</p>
  
  <pre><code>$html_value = '&lt;h1&gt;test&lt;/h1&gt;&lt;br&gt; ....';
  $settings = array( 'textarea_name' =&gt; 'al_srms_fileform_content', 'media_buttons' =&gt; true, 'wpautop' =&gt; false );
  wp_editor($html_value, 'mycustomeditor0pdf', $settings );
  </code></pre>
  
  <p>this is what happening:
  I put <code>&lt;br&gt;</code> tag by <code>Text</code> tab.
  <a href="https://i.stack.imgur.com/LvXw6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LvXw6.png" alt="enter image description here"></a></p>
  
  <p>I click <code>Visual</code> to display the result.
  <a href="https://i.stack.imgur.com/BzFfl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BzFfl.png" alt="enter image description here"></a></p>
  
  <p>I click back the <code>Text</code> tab and the <code>&lt;br&gt;</code> is gone and replaced by <code>&lt;p&gt;&amp;nbsp;&lt;/p&gt;</code>
  <a href="https://i.stack.imgur.com/vUHTG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vUHTG.png" alt="enter image description here"></a></p>
  
  <p>is there a way the when putting a <code>&lt;br&gt;</code> it remains <code>&lt;br&gt;</code> ?</p>