[wp-trac] [WordPress Trac] #4298: wpautop bugs

WordPress Trac wp-trac at lists.automattic.com
Sat May 19 22:14:10 GMT 2007


#4298: wpautop bugs
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous
     Type:  defect             |      Status:  new      
 Priority:  normal             |   Milestone:  2.2.1    
Component:  Administration     |     Version:  2.2      
 Severity:  normal             |    Keywords:           
-------------------------------+--------------------------------------------
 wpautop should at least ignore multiline html tags, and possibly ignore
 any area enclosed within html.

 {{{
 <table
  style="width: 120px; height: 92px; text-align: left; margin-left: auto;
 margin-right: auto;"
  border="1" cellpadding="7" cellspacing="2">
   <tbody>
     <tr>
       <td><small><small style="font-family: Arial;">Once
 I saw it here, I instantly knew what I wanted. I love my new woven wood
 shades.</small></small><br>
       <small><small>- Ginny Good</small></small></td>
     </tr>
   </tbody>
 </table>
 }}}

 gets formatted as:

 {{{
 <table<br />
  style="width: 120px; height: 92px; text-align: left; margin-left: auto;
 margin-right: auto;"<br />
  border="1" cellpadding="7" cellspacing="2"><br />
 <tbody>
 <tr>
 <td><small><small style="font-family: Arial;">Once<br />
 I saw it here, I instantly knew what I wanted. I love my new woven wood<br
 />
 shades.</small></small><br /><br />
       <small><small>- Ginny Good</small></small></td>

 </tr>
 </tbody>
 </table>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4298>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list