This is driving me crazy. I have a page with a form in it. I want to enter the simplest sort of html code, so I do this:
Your name: <input name="submittername" type="text"/><br /> Your E-mail address: <input name="submitteremail" type="text" />
However, wordpress then mucks with my code! it ends up looking like this (view source in browser)
<p>Your name:<br /> <input name="submittername" type="text"/> Your E-mail address:<br /> <input name="submitteremail" type="text" />
It's putting br tags *before* each input tag for some reason, and getting rid of the line breaks that I've explicitly includ
I'm not using the WYSIWYG editor at all, so that's not at fault. Also, the code in the db is not being altered - if I manual
ly login to the db and load that post's content, I see exactly what I originally typed, so it's just when the post it proces
sed and displayed as part of the site that it's being altered like this.
What can I do to fix it? Ideally, I'd just like to turn off whatever formatting WP is doing, since it's a PITA.