Fixed arrow glyphs in auto unicode
This commit is contained in:
parent
1bb8717793
commit
4ec10dc89a
@ -1213,15 +1213,15 @@
|
||||
}
|
||||
|
||||
if($config['auto_unicode']) {
|
||||
$body = str_replace('...', '…', $body);
|
||||
$body = str_replace('<--', '←', $body);
|
||||
$body = str_replace('-->', '→', $body);
|
||||
$body = str_replace('...', '…', $body);
|
||||
$body = str_replace('<--', '←', $body);
|
||||
$body = str_replace('-->', '→', $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); // em dash
|
||||
$body = str_replace('--', '—', $body); // en dash
|
||||
}
|
||||
|
||||
// Cites
|
||||
|
Loading…
Reference in New Issue
Block a user