fix: break on extra space for double-width again.

This commit is contained in:
Christopher Jeffrey 2015-04-26 05:55:20 -07:00
parent fe4a807042
commit 94ba30cbfd
1 changed files with 1 additions and 1 deletions

View File

@ -2424,7 +2424,7 @@ Element.prototype.parseContent = function(noTags) {
if (this.screen.fullUnicode) {
// double-width chars will eat the next char after render. create a
// blank character after it so it doesn't eat the real next char.
content = content.replace(unicode.chars.wide, '$1_');
content = content.replace(unicode.chars.wide, '$1 ');
} else {
// no double-width: replace them with question-marks.
content = content.replace(unicode.chars.all, '??');