From b086e47cfceabda8f96af52113e4441d1719e67a Mon Sep 17 00:00:00 2001 From: Michael Save Date: Thu, 24 Jan 2013 03:37:15 +1100 Subject: [PATCH] Em dash and en dash mix-up. Issue #88 --- inc/functions.php | 4 ++-- 1 file 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('---', '–', $body); // em dash - $body = str_replace('--', '—', $body); // en dash + $body = str_replace('--', '–', $body); // en dash + $body = str_replace('---', '—', $body); // em dash return $body; }