[wp-trac] [WordPress Trac] #6490: Shift-enter in <li> causes <p>

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 31 03:04:21 GMT 2008


#6490: Shift-enter in <li> causes <p>
------------------------+---------------------------------------------------
 Reporter:  novasource  |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:  2.7      
Component:  General     |     Version:           
 Severity:  normal      |    Keywords:           
------------------------+---------------------------------------------------
 If I am in a list item (<li>), and I press shift-enter, the resulting tag
 should be a <br>.

 If I press shift-enter twice, the resulting tags should be <br><br>.

 Instead, WordPress is entering <p> tags.

 E.g., here's what I should get:
 {{{
 <li>Text text text text.
 <br>
 <br>Text text text text.</li>
 }}}

 Instead, I get this:
 {{{
 <li>Text text text text.
 <p>Text text text text.</p></li>
 }}}

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


More information about the wp-trac mailing list