Skip to content

Commit

Permalink
Use plural to match OldDot
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Dec 13, 2023
1 parent 3df907c commit 103c7cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libs/NextStepUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ function parseMessage(messages: Message[] | undefined) {
});

const formattedHtml = nextStepHTML
.replace(/%expenses/g, 'this expense')
.replace(/%Expenses/g, 'This expense')
.replace(/%tobe/g, 'is');
.replace(/%expenses/g, 'these expenses')
.replace(/%Expenses/g, 'These expenses')
.replace(/%tobe/g, 'are');

return `<next-steps>${formattedHtml}</next-steps>`;
}
Expand Down

0 comments on commit 103c7cc

Please sign in to comment.