[wp-trac] [WordPress Trac] #4857: More issues with wpautop()
WordPress Trac
noreply at wordpress.org
Tue Dec 27 22:02:43 UTC 2016
#4857: More issues with wpautop()
--------------------------------------------------+---------------------
Reporter: Viper007Bond | Owner: pento
Type: defect (bug) | Status: closed
Priority: low | Milestone: 4.7
Component: Formatting | Version: 2.3
Severity: normal | Resolution: fixed
Keywords: wpautop needs-patch needs-unit-tests | Focuses:
--------------------------------------------------+---------------------
Comment (by azaozz):
> Interestingly, this change isn't necessary for the functionality to work
Yes, because the closing `</p>` is optional in HTML4 and HTML5. It is
"good to have" the closing tags, but post_content is valid HTML even
without this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/4857#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list