title: how can i customize the way tinymce fixes broken html? particularly lists?
body: <p>I have end-users who created html like this:</p>
  
  <pre><code>&lt;ol&gt;
        &lt;li&gt;some text&lt;/li&gt;
        &lt;li&gt;some more text&lt;/li&gt;
        &lt;div&gt;a div in the wrong spot&lt;/div&gt;
        &lt;li&gt;the last line of text&lt;/li&gt;
  &lt;/ol&gt;
  </code></pre>
  
  <p>Tinymce turns it into something like this:</p>
  
  <pre><code>&lt;ol&gt;
        &lt;li&gt;some text&lt;/li&gt;
        &lt;li&gt;some more text&lt;/li&gt;
  &lt;/ol&gt;
        &lt;div&gt;a div in the wrong spot&lt;/div&gt;
  &lt;ol&gt;
        &lt;li&gt;the last line of text&lt;/li&gt;
  &lt;/ol&gt;
  </code></pre>
  
  <p>This is a problem because sometimes it restarts the  numbering, and sometimes it doesn't restart numbering (start="3") but the formatting is always messed up.</p>
  
  <p>How can I force tinymce to append the <code>&lt;div&gt;</code> inside of the previous <code>&lt;li&gt;</code>?</p>
  
  <p>I've tried setting fix_list_elements to false, but this doesn't help.</p>