WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10247 closed defect (bug) (duplicate)

New lines in <video> markup generates <br />

Reported by: zcorpan Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

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.

Change History (1)

comment:1 Denis-de-Bernardy5 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

see #9437

Note: See TracTickets for help on using tickets.