Browse Source

Em dash and en dash mix-up. Issue #88

pull/40/head
Michael Save 11 years ago
parent
commit
b086e47cfc
  1. 4
      inc/functions.php

4
inc/functions.php

@ -1364,8 +1364,8 @@ function unicodify($body) {
// En and em- dashes are rendered exactly the same in // En and em- dashes are rendered exactly the same in
// most monospace fonts (they look the same in code // most monospace fonts (they look the same in code
// editors). // 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; return $body;
} }

Loading…
Cancel
Save