We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb78b4 commit ff5e64eCopy full SHA for ff5e64e
notebook/static/base/js/utils.js
@@ -1031,7 +1031,8 @@ define([
1031
if (char_code >= 0xD800 && char_code <= 0xDBFF) {
1032
var next_char_code = text.charCodeAt(i+1);
1033
if (next_char_code >= 0xDC00 && next_char_code <= 0xDFFF) {
1034
- char_idx -= 1;
+ char_idx--;
1035
+ i++;
1036
}
1037
1038
@@ -1046,7 +1047,8 @@ define([
1046
1047
1048
1049
- js_idx += 1;
1050
+ js_idx++;
1051
1052
1053
1054
0 commit comments