[wp-trac] [WordPress Trac] #39307: </p> tag inserted in <figure>
WordPress Trac
noreply at wordpress.org
Wed Dec 21 03:22:23 UTC 2016
#39307: </p> tag inserted in <figure>
------------------------------------------+--------------------
Reporter: sujag | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.1
Component: Formatting | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+--------------------
Comment (by azaozz):
In 39307.patch: Collapse line breaks inside `<figure>`, and before and
after `<figcaption>`.
This will effectively remove any <p> inside of <figure>, above or below
<figcaption> (which are allowed but very rarely used). These weren't
working properly before 4.7, so don't expect it to cause any regressions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39307#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list