I've noticed that WP adds <p> tags in a somewhat haphazard way. For example, if I put the follwing in a post:
<div class="my-text">BLAH BLAH BLAH
BLAH BLAH BLAH</div>
Then what comes out is
<div class="my-text">BLAH BLAH BLAH</p>
<p>BLAH BLAH BLAH</div>
or something like that, which causes my otherwise validating page to have all sorts of mismatch errors. What can I do?