Allow putting tables in lists

Currently the behaviour is that if a you have a table in a list:

``        <html>
            <ol>
                <li>AAA</li>
            </ol>
            <table>
                <tr>
                    <td>AAA</td>
                    <td>BBB</td>
                </tr>
                <tr>
                    <td>CCC</td>
                    <td>DDD</td>
                </tr>
            </table>
            <ol>
                <li>BBB</li>
            </ol>
        </html>
``

It breaks the list and makes three elements, the first half of the list, the table and the second half of the list. We should allow nesting the table (and other elements) in the list