[wp-trac] Re: [WordPress Trac] #2833: wpautop breaks style and
script tags
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 13 15:34:27 GMT 2009
#2833: wpautop breaks style and script tags
-------------------------------------------------------------------------+--
Reporter: Nazgul | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: low | Milestone: 2.1
Component: General | Version: 2.0.3
Severity: normal | Resolution:
Keywords: wpautop break script style br bg|has-patch bg|needs-testing |
-------------------------------------------------------------------------+--
Changes (by reneade):
* status: closed => reopened
* resolution: fixed =>
Comment:
In 2.7 JavaScript is still damaged by wpautop if it contains empty lines:
{{{
test
<script language="javascript">
alert( 'test' );
</script>
test
}}}
will be changed to
{{{
<p>test</p>
<p><script language="javascript"></p>
<p> alert( 'test' );</p>
<p></script></p>
<p>test</p>
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2833#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list