[wp-trac] [WordPress Trac] #14082: wp_nav_menu inserts newline char between <li>

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 26 23:49:29 UTC 2010


#14082: wp_nav_menu inserts newline char between <li>
--------------------------+-------------------------------------------------
 Reporter:  dmichalakos   |       Owner:                             
     Type:  defect (bug)  |      Status:  new                        
 Priority:  normal        |   Milestone:  Awaiting Review            
Component:  Menus         |     Version:  3.0.1                      
 Severity:  normal        |    Keywords:  has-patch dev-feedback gsoc
--------------------------+-------------------------------------------------

Comment(by Olen):

 This is definitely '''not''' an IE bug. Carriage returns are treated as
 white space, this is part of the
 [http://www.w3.org/TR/html401/struct/text.html#h-9.3.2 HTML standard]
 (section 9.3.2). Floating isn't really an option because it would require
 positioning within another container to get certain layout to work
 correctly. WordPress should simply not insert carriage returns.

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


More information about the wp-trac mailing list