[wp-trac] Re: [WordPress Trac] #2259: autop creates unclosed paras inside list items

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 11 00:17:22 GMT 2008


#2259: autop creates unclosed paras inside list items
-----------------------------+----------------------------------------------
 Reporter:  Viper007Bond     |        Owner:  anonymous
     Type:  defect           |       Status:  closed   
 Priority:  low              |    Milestone:           
Component:  Template         |      Version:  2.0      
 Severity:  minor            |   Resolution:  invalid  
 Keywords:  autop has-patch  |  
-----------------------------+----------------------------------------------
Changes (by azaozz):

  * status:  reopened => closed
  * resolution:  => invalid
  * milestone:  2.9 =>

Comment:

 Closing as invalid. This seems to be more a question of how to use the
 HTML editor. Although it allows entering of raw html, it's still an editor
 that works together with wpautop() to replace line breaks with <p> tags.

 Entering:
 {{{
 <ul>
 <li>

 Item 1, Paragraph 1

 Item 1, Paragraph 2

 </li>
 <li>

 Item 2, Paragraph 1

 Item 2, Paragraph 2

 </li>
 </ul>
 }}}

 would create all <p> properly and the source on the site would look like
 this:
 {{{
 <ul>
 <li>
 <p>Item 1, Paragraph 1</p>
 <p>Item 1, Paragraph 2</p>
 </li>
 <li>
 <p>Item 2, Paragraph 1</p>
 <p>Item 2, Paragraph 2</p>
 </li>
 </ul>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2259#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list