summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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 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,};)/' => '&'