app/views/script/index.erb in tailog-0.3.5 vs app/views/script/index.erb in tailog-0.3.6
- old
+ new
@@ -20,10 +20,10 @@
try {
var data = JSON.parse(json);
$content
.html('<hr>')
.append('<span class="text-info">' + data.server_hostname + '</span>')
- .append(data.content);
+ .append(ansi_up.ansi_to_html(data.content));
} catch (error) {
console.log(error)
}
});
</script>