mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
replace tabs with spaces
This commit is contained in:
parent
a3b371c158
commit
041b6d471f
@ -581,6 +581,7 @@ class Pastes extends CI_Model
|
||||
private
|
||||
function _format_diff($text)
|
||||
{
|
||||
$text = str_replace("\t", ' ', $text);
|
||||
$text = '<div class="text" style="font-family:monospace; font: normal normal 1em/1.2em monospace;">' . $text . '</div>';
|
||||
return $text;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user