fix: break on extra space for double-width again.
This commit is contained in:
parent
fe4a807042
commit
94ba30cbfd
|
@ -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, '??');
|
||||
|
|
Loading…
Reference in New Issue