[wp-trac] Re: [WordPress Trac] #2833: wpautop breaks style and script tags

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 19:40:59 GMT 2009


#2833: wpautop breaks style and script tags
-------------------------------------------------------------------------+--
 Reporter:  Nazgul                                                       |        Owner:  anonymous
     Type:  defect (bug)                                                 |       Status:  reopened 
 Priority:  low                                                          |    Milestone:  2.8      
Component:  General                                                      |      Version:  2.0.3    
 Severity:  normal                                                       |   Resolution:           
 Keywords:  wpautop break script style br bg|has-patch bg|needs-testing  |  
-------------------------------------------------------------------------+--
Changes (by Denis-de-Bernardy):

  * milestone:  2.1 => 2.8


Comment:

 confirmed in wp 2.8. and switching back and forth with tinymce breaks it
 to:


 {{{
 <p><script language="javascript"><!-- alert( 'test' ); // --></script></p>

 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/2833#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list