Replace tabs with 8 spaces
This commit is contained in:
parent
f71389333e
commit
834a38a562
@ -1258,6 +1258,9 @@
|
|||||||
$body = str_replace('--', '—', $body); // en dash
|
$body = str_replace('--', '—', $body); // en dash
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// replace tabs with 8 spaces
|
||||||
|
$body = str_replace("\t", ' ', $body);
|
||||||
|
|
||||||
// Cites
|
// Cites
|
||||||
if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.?]|$)/', $body, $cites)) {
|
if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.?]|$)/', $body, $cites)) {
|
||||||
if(count($cites[0]) > $config['max_cites']) {
|
if(count($cites[0]) > $config['max_cites']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user