Unwanted line break inserted after a label tag
-
I have a form that uses a list to display its input fields in each list item. WordPress is adding a
<br />
tag after each closing label tag in my form.How do I prevent WordPress from adding the
<br />
tag after each closing label tag? Help is appreciated.Below is what the code should look like:
<li><label for="name">Name</label><input name="name" id="name" type="text" /></li> <li><label for="email">Email</label><input name="email" id="email" type="text" /></li>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Unwanted line break inserted after a label tag’ is closed to new replies.