[wp-trac] [WordPress Trac] #5250: wpautop() issue with lists (was: wpautop() issue with nested lists)
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 30 15:34:10 UTC 2011
#5250: wpautop() issue with lists
-------------------------------------+-----------------------------
Reporter: Narc0tiq | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 2.3
Severity: normal | Resolution:
Keywords: xhtml autop needs-patch |
-------------------------------------+-----------------------------
Comment (by Jani Uusitalo):
This looks related to a test case I was preparing to demonstrate how
flawed the output from wpautop can get inside lists:
{{{
<ol>
<li>
foo
bar
</li>
</ol>
}}}
renders as:
{{{
<ol>
<li>
foo</p>
<p>bar
</li>
</ol>
}}}
whereas I'd expect it to be
{{{
<ol>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ol>
}}}
I'm changing the summary to generally cover wpautop's problems within <li>
elements.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/5250#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list