From 50500a27df17d60d87ce89eca64c644124c64bdc Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 11 Sep 2008 18:21:18 +0000 Subject: massaged regex for double spaces after sentences --- 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 84e6a046f..9fcf6b669 100644 --- a/system/libraries/Typography.php +++ b/system/libraries/Typography.php @@ -269,7 +269,7 @@ class CI_Typography { '/\w\.{3}/' => '…', // double space after sentences - '/(\W)\s{2}/' => '$1  ', + '/(\W) /' => '$1  ', // ampersands, if not a character entity '/&(?!#?[a-zA-Z0-9]{2,};)/' => '&' -- cgit v1.2.3-24-g4f1b