Skip to content

Commit

Permalink
refactor: simplify convertMeiQuoteSign
Browse files Browse the repository at this point in the history
  • Loading branch information
kunfang98927 committed Jul 12, 2024
1 parent be86a25 commit 8dfce98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Editor/ColumnTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ export class ColumnTools {
*/
convertMeiQuoteSign(body: any[]) {
for (let i = 0; i < body.length; i++) {
if (body[i].mei === undefined) {
continue;
if (body[i].mei) {
body[i].mei = body[i].mei.replace(//g, '"').replace(//g, '"');
}
body[i].mei = body[i].mei.replace(//g, '"').replace(//g, '"');
}
}
}

0 comments on commit 8dfce98

Please sign in to comment.