update files

This commit is contained in:
nuintun
2015-11-25 11:52:39 +08:00
parent e90d05c1bc
commit abaea8ed18
3 changed files with 5 additions and 28 deletions

View File

@@ -121,17 +121,17 @@ module.exports = function (Terminal){
switch (ch) {
case '&':
out += '&';
out += '&';
break;
case '<':
out += '<';
out += '&lt;';
break;
case '>':
out += '>';
break;
default:
if (ch <= ' ') {
out += '&nbsp;';
out += '&gt;';
} else {
if (this.isWide(ch)) i++;