Opened 10 years ago
Last modified 5 years ago
#29882 new defect (bug)
wptexturize: quotes inside quotes curling incorrectly
Reported by: | iseulde | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5 |
Component: | Formatting | Keywords: | wptexturize has-patch |
Focuses: | Cc: |
Description
I've been looking through Trac a bit, but couldn't find a ticket reporting this problem.
When you use quotes inside quotes, this happens:
bad: ‘”…” …’
bad: ‘… “…”‘
good: “‘…’ …”
bad: “… ‘…'”
Attachments (3)
Change History (13)
#7
@
10 years ago
- Keywords needs-unit-tests removed
My first unit tests. :) Please tell me if I'm doing something wrong.
#8
@
10 years ago
So the first one passes. The second one fails, but passed in 3.8. The last two never passed.
Note: See
TracTickets for help on using
tickets.
It looks like the last case was introduced in 3.9, so single quotes inside double quotes were OK before 3.9.