File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 33472
33472
if (is_sin) {
33473
33473
i++;
33474
33474
}
33475
- } else if ((txt[i] == "」" && txt[i + 1] == "」" && txt[i+2] != "」") || txt[i] == "』") {
33475
+ } else if (
33476
+ (txt[i] == "」" && txt[i + 1] == "」" && (txt[i + 2] != "」" || txt[i+3] == "」")) ||
33477
+ txt[i] == "』"
33478
+ ) {
33476
33479
var is_sin = txt[i] == "」";
33477
33480
litlvl--;
33478
33481
if (litlvl == 0) {
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ function wy2tokens(txt) {
62
62
i ++ ;
63
63
}
64
64
} else if (
65
- ( txt [ i ] == "」" && txt [ i + 1 ] == "」" && txt [ i + 2 ] != "」" ) ||
65
+ ( txt [ i ] == "」" &&
66
+ txt [ i + 1 ] == "」" &&
67
+ ( txt [ i + 2 ] != "」" || txt [ i + 3 ] == "」" ) ) ||
66
68
txt [ i ] == "』"
67
69
) {
68
70
var is_sin = txt [ i ] == "」" ;
You can’t perform that action at this time.
0 commit comments