#2647 closed defect (bug) (fixed)
wptexturize function curlifies quotes in script blocks
Reported by: | Justinsomnia | Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | General | Keywords: | bg|has-patch bg|commit bg|tested |
Focuses: | Cc: |
Description
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>
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
patch fixing the parenthesis error