1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

inc/functions.php: Tabs in code tags (fixes #328)

This commit is contained in:
Pashe 2015-01-03 23:34:27 -06:00
parent 108f3ff99a
commit 916cb4c997

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;
}