Browse Source

Em-dashes were being read as en-dashes.

pull/40/head
Paul Merrill 14 years ago
parent
commit
17943d8be9
  1. 2
      inc/functions.php

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

Loading…
Cancel
Save