diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-09-24 22:44:34 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-09-24 22:44:34 +0200 |
commit | 92490684ef1b2a1b1417727c392ee28288fd41a9 (patch) | |
tree | 4d2c2489b6c7594721b6c7a885b5c430cfd54757 /system | |
parent | d16bab12339fe2746e1ead72ba96351c3423c27c (diff) |
fixed an issue where the last character before convert ... to an ellipsis was being dropped
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Typography.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Typography.php b/system/libraries/Typography.php index da100dc17..6b18a2dfd 100644 --- a/system/libraries/Typography.php +++ b/system/libraries/Typography.php @@ -225,7 +225,7 @@ class CI_Typography { // Em dash and ellipses dots '/\s?\-\-\s?/' => '—', - '/\w\.{3}/' => '…', + '/(\w)\.{3}/' => '$1…', // double space after sentences '/(\W) /' => '$1 ', |