m and n dash fix
This commit is contained in:
parent
b078222ede
commit
765e64ee38
@ -1362,8 +1362,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); // en dash
|
|
||||||
$body = str_replace('---', '—', $body); // em dash
|
$body = str_replace('---', '—', $body); // em dash
|
||||||
|
$body = str_replace('--', '–', $body); // en dash
|
||||||
|
|
||||||
return $body;
|
return $body;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user