From 92490684ef1b2a1b1417727c392ee28288fd41a9 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Wed, 24 Sep 2008 20:44:34 +0000 Subject: fixed an issue where the last character before convert ... to an ellipsis was being dropped --- system/libraries/Typography.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Typography.php') 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  ', -- cgit v1.2.3-24-g4f1b