Opened 7 years ago

Closed 7 years ago

#2798 closed defect (bug) (invalid)

Incorrect paragraph tag placement in wpautop

Reported by: bfintal's profile bfintal Owned by:
Milestone: Priority: normal
Component: General Keywords:


If you have an inline element and a block element beside each other while wrapped inside a block element, such as this:


Running wpautop on it incorrectly adds a misplaced </p> in there:


Same goes when the block element goes first then an inline element:


You get a misplaced <p>:


Change History (1)

#1 @bfintal
7 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Posted in the wrong trac.

Note: See TracTickets for help on using tickets.