[wp-trac] [WordPress Trac] #4605: input tags misformatted

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 10 17:04:59 GMT 2007


#4605: input tags misformatted
----------------------------+-----------------------------------------------
 Reporter:  jaddle          |       Owner:  anonymous                   
     Type:  defect          |      Status:  new                         
 Priority:  normal          |   Milestone:                              
Component:  Administration  |     Version:  2.2.1                       
 Severity:  normal          |    Keywords:  formatting, forms, input, br
----------------------------+-----------------------------------------------
 I tried creating a form in a page - but the formatting is not working
 properly.

 When I enter, for example:

 {{{
 Your name: <input name="submittername" type="text"/><br />
 Your E-mail address: <input name="submitteremail" type="text" />
 }}}

 wordpress then modifies it to look like this when you view the page:

 {{{
 name:<br />
 <input name="submittername" type="text"/>
 Your E-mail address:<br />
 <input name="submitteremail" type="text" />
 }}}

 It's putting in a br tag before each input tag, and not putting them in
 where I actually made line breaks.

 Note that the code is not actually being altered - if I edit it again, I
 see the original code I wrote. It's just when it's rendered for viewing
 the page that I get the modified version.

 Also, I'm not using the visual editor at all - it's disabled in my profile
 - so I don't imagine it could be at fault here.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4605>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list