summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2013-01-24 03:37:15 +1100
committerMichael Save <savetheinternet@tinyboard.org>2013-01-24 03:37:15 +1100
commitb086e47cfceabda8f96af52113e4441d1719e67a (patch)
treecaa54d691fd8ea00f344049850c666c451917069 /inc
parenta44e0571bca5a872f204e8ff886a3e24d8d84aeb (diff)
Em dash and en dash mix-up. Issue #88
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 2ceb8a5d..8117480f 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1364,8 +1364,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); // em dash
- $body = str_replace('--', '&mdash;', $body); // en dash
+ $body = str_replace('--', '&ndash;', $body); // en dash
+ $body = str_replace('---', '&mdash;', $body); // em dash
return $body;
}