Ticket #4539 (assigned defect (bug))

Opened 2 years ago

Last modified 1 week ago

Abbreviated year followed by punctuation or markup doesn't texturize

Reported by: pah2 Assigned to: jmstacey (accepted)
Priority: normal Milestone: 2.9
Component: General Version: 2.5
Severity: normal Keywords: has-patch, tested
Cc:

Description

An abbreviated year followed by punctuation or markup doesn't texturize properly.

e.g. (Bruce Sterling, '97) is texturized as (Bruce Sterling, ‘97) when the apostrophe should be texturized as ’

e.g. <li>Casino Royale '06</li> is texturized as <li>Casino Royale, &#8216;06</li> when the apostrophe should be texturized as &#8217;

Attachments

abbreviated_year_patch.diff (1.7 kB) - added by jmstacey on 06/21/08 04:59:27.
fomatting.diff (1.7 kB) - added by mrmist on 01/01/09 14:49:11.
wp-include formatting.php

Change History

06/21/08 04:59:27 changed by jmstacey

  • attachment abbreviated_year_patch.diff added.

06/21/08 05:08:57 changed by jmstacey

  • keywords set to has-patch.
  • owner changed from anonymous to jmstacey.
  • version changed from 2.2.1 to 2.5.
  • status changed from new to assigned.

Note that the patch I attached also includes the patch I created for Ticket #1258.

01/01/09 14:32:08 changed by mrmist

  • keywords changed from has-patch to needs-patch, needs-testing.

I tried applying this against trunk 10289 but it didn't seem to fix the issue for me.

01/01/09 14:39:36 changed by mrmist

  • keywords changed from needs-patch, needs-testing to has-patch, tested.

my mistake, I was testing against the wrong site. D'oh.

The attached fixes the curly quotes and s and the issue above.

01/01/09 14:49:11 changed by mrmist

  • attachment fomatting.diff added.

wp-include formatting.php

01/01/09 14:49:53 changed by mrmist

Refreshed patch