Ignore hexadecimal colors
This commit is contained in:
parent
c5852bb381
commit
ae432da277
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ const parse=function(data, l, resetColor){
|
|||
if(data.color){
|
||||
if(data.color=="reset"){
|
||||
out[0]+=resetColor[0]
|
||||
} else if (data.color.startsWith("#")){
|
||||
out[0]+="";
|
||||
} else {
|
||||
out[0]+=consoleColors[data.color];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue