From 17943d8be9cdd964c5d66dcde4f12119a7f8532c Mon Sep 17 00:00:00 2001 From: Paul Merrill Date: Fri, 5 Nov 2010 10:37:11 -0700 Subject: [PATCH] Em-dashes were being read as en-dashes. --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index a26e952b..9a1f27c8 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -165,8 +165,8 @@ // En and em- dashes are rendered exactly the same in // most monospace fonts (they look the same in code // editors). - $body = str_replace('--', '–', $body); // en dash $body = str_replace('---', '—', $body); // em dash + $body = str_replace('--', '–', $body); // en dash } $body = utf8tohtml($body, true);