Unwanted <br> before each <input> field?
I'm not sure if this is an Atahualpa thing or a WordPress thing... I figured I'd start here and broaden the search for an answer to the WP forums if needed.
I'm building a form at <http://directory.sustainablesources.org/get-listed/>, and something is inserting a <br> before every <input> field. (Sorry, you have to be logged in to see the form. Feel free to use "sstest" for both username and pass.) I've got Unfiltered MU plugin on it, so it should theoretically be showing my code as I entered it: <strong>Contact Name: </strong><input type=text ..... etc. No line breaks anywhere between the field name and the input field. Instead, it's displaying in firebug as: <strong>Contact Name: </strong> <br> <input type=text ..... Any ideas? Is there an better "don't mess with my code" plugin than Unfiltered MU? Thanks. |
WordPress has a habit of adding is some extra html (try putting this in a post ' hello this<h2>is an H2</h2> and this is not' and you will get three lines)
For example, Atahualpa sets up some info for the comments form, then it calls the WordPress function 'comment_form()' to actually build the form. There are lots of complaints about the fact that WordPress adds extra <br>'s and <p>'s into code. It's especially bad when you use the HTML editor and expect to see what you coded. |
That's what I was afraid I'd hear.
So, any workarounds? |
|
All times are GMT -6. The time now is 01:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.