[wp-trac] [WordPress Trac] #1418: wptexturize doesn't correctly translate doublequote in brackets
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 14 12:06:21 UTC 2009
#1418: wptexturize doesn't correctly translate doublequote in brackets
--------------------------+-------------------------------------------------
Reporter: Kafkaesqui | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Formatting | Version: 2.8.4
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+-------------------------------------------------
Changes (by voyou1):
* status: closed => reopened
* cc: voyou1 (added)
* component: General => Formatting
* version: 1.5.1.1 => 2.8.4
* keywords: dev-feedback recomend-closing => dev-feedback
* resolution: wontfix =>
Comment:
I'm reopening, as this bug still exists. The current behaviour is:
- ("test") converts to (”test”)
- incorrect, should be (“test”)
- ('test') converts to (’test’)
- incorrect, should be (‘test’)
- ('twas) converts to (’twas)
- correct, cockney.
I've attached a patch against HEAD which fixes the two incorrect
behaviours, and doesn't alter the third, correct, behaviour.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/1418#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list