mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
Em-dashes were being read as en-dashes.
This commit is contained in:
parent
4de3a3eca4
commit
17943d8be9
@ -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…
Reference in New Issue
Block a user