app/views/logs/index.erb in tailog-0.3.5 vs app/views/logs/index.erb in tailog-0.3.6
- old
+ new
@@ -36,10 +36,10 @@
if (!data.content) return;
var shouldScrollToBottom = $window.scrollTop() + $window.height() == $document.height();
$content
.append('<span class="text-info">' + data.server_hostname + ' - ' + data.file_size + '</span>')
- .append(data.content);
+ .append(ansi_up.ansi_to_html(data.content));
if (shouldScrollToBottom) {
$window.scrollTop($document.height() - $window.height());
}