summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Merrill <napalminc@gmail.com>2010-11-05 10:37:11 -0700
committerPaul Merrill <napalminc@gmail.com>2010-11-05 10:37:11 -0700
commit17943d8be9cdd964c5d66dcde4f12119a7f8532c (patch)
tree0c4a9dc3a847b0a04744cf67ad130b5015f10902
parent4de3a3eca453b23e936e20eb68935b45dc70411b (diff)
Em-dashes were being read as en-dashes.
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
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);