This page I am editing in the html editor. I pasted in my list from my text editor. You'll notice that the second last list item is all a link, thats because wordpress has taken it upon itself to wrap the whole thing in an empty tag! Why is it doing this and more importantly, how do I stop it?
FYI here is the relevant ul
<ul class="company-details">
<li>Target Health & Fitness</li>
<li>7 Sheffield Road Holmfirth HD9 7BW</li>
<li>01484 681000</li>
<li><a href="mailto:enquiry@target-leisure.com">enquiry@target-leisure.com</a></li>
</ul>
inside that wordpress has added an anchor, if you inspect it using inspector or firebug.
I've added these filters thinking they'd work but they haven't
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );