diff --git a/inc/functions.php b/inc/functions.php index 38921d85..a88399f3 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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)) {