Em-dashes were being read as en-dashes.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user