Skip to content
Snippets Groups Projects
Commit 44ed0f7a authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

View Logs: Improve green color and prevent render HTML

parent c9b4159e
No related merge requests found
ansispan = function (str) {
str = str.replace(/>/g, '>');
str = str.replace(/</g, '&lt;');
Object.keys(ansispan.foregroundColors).forEach(function (ansi) {
var span = '<span style="color: ' + ansispan.foregroundColors[ansi] + '">';
......@@ -32,7 +35,7 @@ ansispan = function (str) {
ansispan.foregroundColors = {
'30': 'gray',
'31': 'red',
'32': 'green',
'32': 'lime',
'33': 'yellow',
'34': '#6B98FF',
'35': '#FF00FF',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment