fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit dceb0fd1c1 - Show all commits

View file

@ -765,8 +765,8 @@ export class GBMinService {
await step.continueDialog();
} else {
let text = context.activity.text;
text = text.replace(/<\/?[^>]+(>|$)/g, "");
text = text.replace(/<([^>]+?)([^>]*?)>(.*?)<\/\1>/ig, "");
// Spells check the input text before translating.
const key = min.instance.spellcheckerKey ? min.instance.spellcheckerKey : min.instance.spellcheckerKey;