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

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 9 21:01:22 UTC 2012


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

Comment (by wonderboymusic):

 Here is what presently happens in trunk:

 {{{
 <p>test</p>
 <p><script type="text/javascript" language="javascript">// <![CDATA[
 alert( 'test' );
 // ]]&gt;</script></p>
 <p>test</p>
 }}}

 So seems like the only remaining issue for *this ticket* is incorrectly
 {{{<p>}}}'ing the inline script

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


More information about the wp-trac mailing list