[wp-trac] [WordPress Trac] #3007: wpautop error when div tags lack space before or after other text
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 9 21:12:13 UTC 2012
#3007: wpautop error when div tags lack space before or after other text
--------------------------+-----------------------------
Reporter: erik | Owner: anonymous
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 2.0.4
Severity: normal | Resolution: worksforme
Keywords: |
--------------------------+-----------------------------
Changes (by wonderboymusic):
* keywords: needs-patch =>
* status: new => closed
* resolution: => worksforme
Comment:
Currently, trunk (using the original examples) produces:
{{{
<div>
<p><a href="http://example.com">example.com</a>Some pretty words here.</p>
</div>
<div>
<p><a href="http://example.com">example.com</a></p>
<p>Some pretty words here.</p>
</div>
<div>
<p><a href="http://example.com">example.com</a></p>
<p>Some pretty words here.</p>
</div>
}}}
I'm inclined to think this is working as expected. If you are using
newlines in the editor to produce line-breaks that result in {{{<p>}}}s,
you can preview til your heart's content.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/3007#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list