diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-09-11 20:21:18 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-09-11 20:21:18 +0200 |
commit | 50500a27df17d60d87ce89eca64c644124c64bdc (patch) | |
tree | b786547f4194ee23657a259ca5bd570312687c73 /system | |
parent | e320bc8ae23d3fab537c620d980a2aa0cb8919a9 (diff) |
massaged regex for double spaces after sentences
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 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,};)/' => '&' |