Escape < and > characters from the cli.

pull/3/head
Dominic Clifton 9 years ago
parent 58bcbe876c
commit 4203413b74

@ -141,6 +141,13 @@ TABS.cli.read = function (readInfo) {
text += "<br />";
}
break;
case 60:
text += '&lt';
break;
case 62:
text += '&gt';
break;
default:
text += String.fromCharCode(data[i]);
}

Loading…
Cancel
Save