[wp-trac] [WordPress Trac] #10247: New lines in <video> markup generates <br />

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 23 17:14:17 GMT 2009


#10247: New lines in <video> markup generates <br />
--------------------------+-------------------------------------------------
 Reporter:  zcorpan       |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 This page http://hacks.mozilla.org/2009/06/html5-video-fallbacks-markup/
 has some <video> markup, and it seems wordpress inserts <br /> for each
 new line inside the video, which makes it invalid HTML.

 Wordpress should either gain knowledge about <video> (and <audio>) in
 particular and not insert <br /> between the <source> elements, or it
 should avoid inserting <br /> inside unknown elements.

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


More information about the wp-trac mailing list