[wp-trac] [WordPress Trac] #13658: Extra Paragraph Close Tags Added for Blank Lines
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 1 02:04:18 UTC 2010
#13658: Extra Paragraph Close Tags Added for Blank Lines
-----------------------------------+----------------------------------------
Reporter: cmarshall | Owner:
Type: defect (bug) | Status: closed
Priority: low | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: paragraph tag closing |
-----------------------------------+----------------------------------------
Changes (by azaozz):
* status: new => closed
* version: 3.0 =>
* resolution: => invalid
* milestone: Unassigned =>
Comment:
@cmarshall this is how the HTML Editor in WordPress works in conjunction
with wpautop. If you are replacing/inserting content before the wpautop
filter, make sure there aren't any line breaks `\r\n|\n` in it as autop
would try to convert them to paragraphs.
Line breaks don't make any difference in HTML but are used by autop to
separate paragraphs.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13658#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list