From 4203413b749595c254ad3f00ce0d1cf35ea2b9cc Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Mon, 29 Jun 2015 03:33:17 +0100 Subject: [PATCH] Escape < and > characters from the cli. --- tabs/cli.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tabs/cli.js b/tabs/cli.js index 24d7aa64..df8f3ebc 100644 --- a/tabs/cli.js +++ b/tabs/cli.js @@ -141,6 +141,13 @@ TABS.cli.read = function (readInfo) { text += "
"; } break; + case 60: + text += '<'; + break; + case 62: + text += '>'; + break; + default: text += String.fromCharCode(data[i]); }