mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
inc/functions.php: Tabs in code tags (fixes #328)
This commit is contained in:
parent
108f3ff99a
commit
916cb4c997
@ -1964,7 +1964,7 @@ function markup(&$body, $track_cites = false, $op = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// replace tabs with 8 spaces
|
// replace tabs with 8 spaces
|
||||||
$body = str_replace("\t", ' ', $body);
|
$body = str_replace("\t", '	', $body);
|
||||||
|
|
||||||
return $tracked_cites;
|
return $tracked_cites;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user