summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMacil Tech <maciltech@gmail.com>2013-02-13 01:25:56 +0800
committerMacil Tech <maciltech@gmail.com>2013-06-18 12:07:30 -0500
commit765e64ee38919c48f840403c4910a37fbce037e9 (patch)
tree2ad823cf418cfbeae27641c21c5187c89080d116
parentb078222ede702b8ecf4b28f5ebd6db5c34b65143 (diff)
m and n dash fix
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index b83d6c86..a9afb450 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1362,8 +1362,8 @@ function unicodify($body) {
// En and em- dashes are rendered exactly the same in
// most monospace fonts (they look the same in code
// editors).
- $body = str_replace('--', '&ndash;', $body); // en dash
$body = str_replace('---', '&mdash;', $body); // em dash
+ $body = str_replace('--', '&ndash;', $body); // en dash
return $body;
}