[wp-trac] [WordPress Trac] #4857: More issues with wpautop()
WordPress Trac
noreply at wordpress.org
Mon Sep 12 07:05:29 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:
--------------------------------------------------+---------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38592"]:
{{{
#!CommitTicketReference repository="" revision="38592"
Formatting: Add an extra line break before block elements in `wpautop()`.
`wpautop()` considers double line breaks to be the separator between block
level HTML elements. By adding two line breaks before a block element,
this allows us to process the text before a block element correctly.
Fixes #4857.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/4857#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list