mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
Em dash and en dash mix-up. Issue #88
This commit is contained in:
parent
a44e0571bc
commit
b086e47cfc
@ -1364,8 +1364,8 @@ function unicodify($body) {
|
||||
// En and em- dashes are rendered exactly the same in
|
||||
// most monospace fonts (they look the same in code
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user