[wp-trac] [WordPress Trac] #16353: Allow element between li's but not after final element in wp_list_bookmarks

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 23 11:05:44 UTC 2011


#16353: Allow element between li's but not after final element in wp_list_bookmarks
-----------------------------+------------------------------
 Reporter:  in2thats12       |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |
-----------------------------+------------------------------
Changes (by toscho):

 * cc: info@… (added)


Comment:

 List items cannot have other siblings than list items. Anything else is
 invalid markup:


 {{{
 <ul>
   <li>
   <hr> <!-- invalid -->
   <li>
 </ul>
 }}}

 Why should WP help to create broken HTML?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16353#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list