-
Notifications
You must be signed in to change notification settings - Fork 303
Open
Description
我看到替换标点符号的代码没有处理破折号
Lines 79 to 89 in 55367eb
convertToFullwidth(symbols) { | |
return symbols | |
.replace(/~/g, '~') | |
.replace(/!/g, '!') | |
.replace(/;/g, ';') | |
.replace(/:/g, ':') | |
.replace(/,/g, ',') | |
.replace(/\./g, '。') | |
.replace(/\?/g, '?'); | |
} | |
请问是否考虑把“--”或者 “-” 或者“—”替换成“——”?
Metadata
Metadata
Assignees
Labels
No labels