fix(core.gbapp): Remove HTML from input.

This commit is contained in:
Rodrigo Rodriguez 2020-10-30 12:43:32 -03:00
parent 12b136285d
commit 85df283005

View file

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