mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -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
|
private
|
||||||
function _format_diff($text)
|
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>';
|
$text = '<div class="text" style="font-family:monospace; font: normal normal 1em/1.2em monospace;">' . $text . '</div>';
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user