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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 16:53:24 GMT 2009


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

Comment(by Denis-de-Bernardy):

 I've had a similar issue on one of my plugins, at one point. (As in,
 things got processed when they really shouldn't.)

 To fix, I went something like:

  1. Replace entire area with a unique place holder
  2. Process everything
  3. Replace the unique place holder with its original content

 In case it prompts ideas... It would then also fix the SVG problem: #9437

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


More information about the wp-trac mailing list