mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 17:14:04 +01:00
Replace tabs with 8 spaces
This commit is contained in:
parent
69170ad5d4
commit
f73d2791f2
@ -1257,6 +1257,9 @@
|
||||
$body = str_replace('---', '–', $body); // em dash
|
||||
$body = str_replace('--', '—', $body); // en dash
|
||||
}
|
||||
|
||||
// replace tabs with 8 spaces
|
||||
$body = str_replace("\t", ' ', $body);
|
||||
|
||||
// Cites
|
||||
if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.?]|$)/', $body, $cites)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user