#2647 closed defect (bug) (fixed)
wptexturize function curlifies quotes in script blocks
| Reported by: | Justinsomnia | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | General | Version: | 2.1 |
| Severity: | normal | Keywords: | bg|has-patch bg|commit bg|tested |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch fixing the parenthesis error