[wp-trac] [WordPress Trac] #2647: wptexturize function curlifies
quotes in script blocks
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 6 18:46:33 GMT 2006
#2647: wptexturize function curlifies quotes in script blocks
-----------------------+----------------------------------------------------
Id: 2647 | Status: new
Component: General | Modified: Thu Apr 6 18:46:33 2006
Severity: normal | Milestone:
Priority: normal | Version: 2.1
Owner: anonymous | Reporter: Justinsomnia
-----------------------+----------------------------------------------------
Due to a misplaced parenthesis in the wptexturize function, quotes in a
script block within a post will get texturized, breaking the script.
The following test post:
{{{
<script>document.write("test");</script>
}}}
erroneously gets sent to the web broswer as:
{{{
<script>document.write(”test”);</script>
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2647>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list