This commit is contained in:
Claude 2013-03-28 11:34:06 +01:00
parent f64bdee7f3
commit d65e23ccf3
2 changed files with 1 additions and 4 deletions

View File

@ -579,9 +579,7 @@ class Pastes extends CI_Model
private
function _format_diff($text)
{
$text = explode("\n", $text);
$text = '<ol><li>' . implode('</li><li>', $text) . '</li></ol>';
$text = '<div class="text" style="font-family:monospace;">' . $text . '</div>';
$text = '<div class="text" style="font-family:monospace; font: normal normal 1em/1.2em monospace;">' . $text . '</div>';
return $text;
}
}

View File

@ -408,7 +408,6 @@ h4 {
.text_formatted ol li {
list-style: decimal outside;
font: normal normal 1em/1.2em monospace
}
.text_formatted ins {