I'm inserting my contact form on one of my pages with this HTML:
[contact-form 1 "Contactform"]The text on my contact page
The above generates:
<p><div class="wpcf7" ...>...</div>The text on my contact page</p>
Where ... is some normal wpcf code. My problem is, that W3C validation cannot accept the div-tag inside a p-tag. The p-tag is auto-generated by the wordpress core.
How can I handle this?