[wp-trac] Re: [WordPress Trac] #6485: wpautop removes closing P tag from empty paragraph above a table

WordPress Trac wp-trac at lists.automattic.com
Fri May 9 19:02:37 GMT 2008


#6485: wpautop removes closing P tag from empty paragraph above a table
--------------------------+-------------------------------------------------
 Reporter:  jpxwordpress  |        Owner:  anonymous
     Type:  defect        |       Status:  reopened 
 Priority:  low           |    Milestone:  2.7      
Component:  General       |      Version:  2.5      
 Severity:  minor         |   Resolution:           
 Keywords:  wpautop       |  
--------------------------+-------------------------------------------------
Comment (by Jairus):

 Replying to [comment:4 azaozz]:
 > The only error here seems to be that wpautop removes the closing </p>
 tag when an empty paragraph is immediately above a table, which is a very
 rare case as tables are not supported by default in the WYSIWYG editor and
 empty paragraphs are considered bad html coding practice.

 Linebreaks within table cells are being removed. That's a pretty big deal.

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


More information about the wp-trac mailing list