Skip to content

Commit

Permalink
fixed english ab』cd
Browse files Browse the repository at this point in the history
  • Loading branch information
gnehs committed Mar 15, 2022
1 parent ce3fee2 commit b8b702a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dataModule/lyricUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ function fixPunctuation(text) {
for (let key in punctuationList) {
text = text.replace(new RegExp(key, "g"), punctuationList[key])
}
// fix english ab』cd
text = text.replace(/(\w)(\w)/g, "$1'$2")

}
return text
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pokaplayer",
"version": "3.6.1",
"version": "3.6.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b8b702a

Please sign in to comment.