commit | 92490684ef1b2a1b1417727c392ee28288fd41a9 | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Wed Sep 24 20:44:34 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Wed Sep 24 20:44:34 2008 +0000 |
tree | 4d2c2489b6c7594721b6c7a885b5c430cfd54757 | |
parent | d16bab12339fe2746e1ead72ba96351c3423c27c [diff] [blame] |
fixed an issue where the last character before convert ... to an ellipsis was being dropped
diff --git a/system/libraries/Typography.php b/system/libraries/Typography.php index da100dc..6b18a2d 100644 --- a/system/libraries/Typography.php +++ b/system/libraries/Typography.php
@@ -225,7 +225,7 @@ // Em dash and ellipses dots '/\s?\-\-\s?/' => '—', - '/\w\.{3}/' => '…', + '/(\w)\.{3}/' => '$1…', // double space after sentences '/(\W) /' => '$1 ',