Opened 7 years ago
Closed 7 years ago
#2647 closed defect (bug) (fixed)
wptexturize function curlifies quotes in script blocks
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | General | Version: | 2.1 |
| Severity: | normal | Keywords: | bg|has-patch bg|commit bg|tested |
| 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 (3)
Justinsomnia
— 7 years ago
Note: See
TracTickets for help on using
tickets.
patch fixing the parenthesis error