Do you have “WordPress should correct invalidly nested XHTML automatically” enabled? (Options:Writing)
You should upgrade, btw.
Thread Starter
bday
(@bday)
No – that option is not enabled.
It looks like your not closing your <input>
tags.
In my editor (no wysiwig) if I don’t close a tag properly some filter assumes I’m doing text that needs formatting.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.masscare.org%2Fnews%2Fmembership-pledge-form%2F
I’m having the same problem with WordPress 2.1 — every <input>
tag I put on a page is getting a <br />
tag attached in front of it. I have WYSIWYG editor turned off. So I put in this code:
<p>Some text <input type="text" name="field" /></p>
and WordPress outputs this code:
<p>Some text <br /><input type="text" name="field" /></p>
Does anyone know the reasoning behind not offering a true HTML view for post entry anymore? I’m sure there’s a reason, I just can’t figure it out. It seems to me that if someone wanted their input to be auto-formatted they would use the WYSIWYG view and if they wanted to enter their own HTML they’d use HTML view. The question is then why would anyone be entering data in the HTML view if they wanted it to be auto-formatted?
A) I’m squinting, perhaps I’m blind, but I don’t see the difference between your two examples.
[update: ah, you edited while I was squinting]
B) Users -> Your Profile – hate the wysiwyg? turn the bloody thing off! Top checkbox, uncheck it.
@handysolo
A) Yes I had to edit my reply several times because the auto-formatting was removing bits from my code examples.
B) see the second sentence of my reply: “I have WYSIWYG editor turned off”
I’m assuming you misread ‘have’ for ‘hate’, but if not, I don’t hate the WYSIWYG editor, I just want to be able to turn off auto-formatting, and turning off WYSIWYG does not seem to be totally doing that, as evidenced with <input> fields in this case.