Em-dashes were being read as en-dashes.

This commit is contained in:
Paul Merrill 2010-11-05 10:37:11 -07:00
parent 4de3a3eca4
commit 17943d8be9

View File

@ -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);