summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Typography.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Typography.php b/system/libraries/Typography.php
index 0502eef1e..808a76953 100644
--- a/system/libraries/Typography.php
+++ b/system/libraries/Typography.php
@@ -246,13 +246,13 @@ class CI_Typography {
'/"\'(\s|\W|$)/' => '”’$1',
// single quote smart quotes
- '/\'(\s|\W|$)/' => '’$1',
'/(^|\W|\s)\'/' => '$1‘',
+ '/\'(\s|\W|$)/' => '’$1',
// double quote smart quotes
- '/"(\s|\W|$)/' => '”$1',
'/(^|\W|\s)"/' => '$1“',
-
+ '/"(\s|\W|$)/' => '”$1',
+
// apostrophes
"/(\w)'(\w)/" => '$1’$2',