WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#40202 new defect (bug)

wpautop bad code

Reported by: jim5471 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: General Keywords:
Focuses: Cc:

Description

post content

<a href="document.htm"><div>Text</div></a>

generated markup - note wrong HTML

<p><a href="document.htm"></p>
<div>Text</div>
<p></a></p>

related: #40135

Change History (1)

#1 @jim5471
8 months ago

Last edited 8 months ago by jim5471 (previous) (diff)
Note: See TracTickets for help on using tickets.