Merge pull request #338 from Pashe/code-tag-tabs

Tabs in code tags
This commit is contained in:
Fredrick Brennan 2015-01-05 12:42:58 +08:00
commit e6b12eb39b

View File

@ -1964,7 +1964,7 @@ function markup(&$body, $track_cites = false, $op = false) {
}
// replace tabs with 8 spaces
$body = str_replace("\t", ' ', $body);
$body = str_replace("\t", '	', $body);
return $tracked_cites;
}