replace tabs with spaces

This commit is contained in:
Claude 2013-04-13 15:30:15 +02:00
parent a3b371c158
commit 041b6d471f

View File

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