Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#10247 closed defect (bug) (duplicate)

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

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


This page 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)

#1 @Denis-de-Bernardy
15 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.