summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-09-24 22:44:34 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-09-24 22:44:34 +0200
commit92490684ef1b2a1b1417727c392ee28288fd41a9 (patch)
tree4d2c2489b6c7594721b6c7a885b5c430cfd54757 /system/libraries
parentd16bab12339fe2746e1ead72ba96351c3423c27c (diff)
fixed an issue where the last character before convert ... to an ellipsis was being dropped
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Typography.php2
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?/' => '&#8212;',
- '/\w\.{3}/' => '&#8230;',
+ '/(\w)\.{3}/' => '$1&#8230;',
// double space after sentences
'/(\W) /' => '$1&nbsp; ',