[wp-trac] [WordPress Trac] #4857: More issues with wpautop()
WordPress Trac
noreply at wordpress.org
Sat Jan 17 01:47:07 UTC 2015
#4857: More issues with wpautop()
-------------------------------------------------+-------------------------
Reporter: Viper007Bond | Owner: mdawaffe
Type: defect (bug) | Status: reopened
Priority: low | Milestone: Future
Component: Formatting | Release
Severity: normal | Version: 2.3
Keywords: wpautop needs-patch needs-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by ericlewis):
`wpautop()` has an intelligent line that adds a closing `<p>` tag before
`<div>`, `<address>` and `<form>` closing tags
([https://github.com/WordPress/WordPress/blob/4.1/wp-
includes/formatting.php#L443 1]).
The same could be done here, but it isn't a great fix.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/4857#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list