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

This commit is contained in:
Rodrigo Rodriguez 2020-10-30 12:43:32 -03:00
parent 03114176bf
commit 945be5f60f

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;