Browse Source

Replace tabs with 8 spaces

pull/40/head
Savetheinternet 13 years ago
parent
commit
834a38a562
  1. 3
      inc/functions.php

3
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)) {

Loading…
Cancel
Save