Tag mismatch caused by WP
-
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?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Tag mismatch caused by WP’ is closed to new replies.