File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -33128,10 +33128,10 @@
33128
33128
var out = [];
33129
33129
var i = 0;
33130
33130
while (i < txt.length) {
33131
- if (txt[i] == "「") {
33131
+ if (txt[i] == "「" || txt[i] == "『" ) {
33132
33132
off++;
33133
33133
out.push("quot");
33134
- } else if (txt[i] == "」") {
33134
+ } else if (txt[i] == "」" || txt[i] == "』" ) {
33135
33135
off--;
33136
33136
out.push("quot");
33137
33137
} else {
33473
33473
i++;
33474
33474
}
33475
33475
} else if (
33476
- (txt[i] == "」" && txt[i + 1] == "」" && (txt[i + 2] != "」" || txt[i+3] == "」")) ||
33476
+ (txt[i] == "」" &&
33477
+ txt[i + 1] == "」" &&
33478
+ (txt[i + 2] != "」" || txt[i + 3] == "」")) ||
33477
33479
txt[i] == "』"
33478
33480
) {
33479
33481
var is_sin = txt[i] == "」";
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ var semantic = function(txt) {
39
39
var out = [ ] ;
40
40
var i = 0 ;
41
41
while ( i < txt . length ) {
42
- if ( txt [ i ] == "「" ) {
42
+ if ( txt [ i ] == "「" || txt [ i ] == "『" ) {
43
43
off ++ ;
44
44
out . push ( "quot" ) ;
45
- } else if ( txt [ i ] == "」" ) {
45
+ } else if ( txt [ i ] == "」" || txt [ i ] == "』" ) {
46
46
off -- ;
47
47
out . push ( "quot" ) ;
48
48
} else {
You can’t perform that action at this time.
0 commit comments