fix(core.gbapp): Remove HTML from input.
This commit is contained in:
parent
12b136285d
commit
85df283005
1 changed files with 2 additions and 1 deletions
|
@ -765,7 +765,8 @@ export class GBMinService {
|
||||||
await step.continueDialog();
|
await step.continueDialog();
|
||||||
} else {
|
} else {
|
||||||
let text = context.activity.text;
|
let text = context.activity.text;
|
||||||
|
text = text.replace(/<\/?[^>]+(>|$)/g, "");
|
||||||
|
|
||||||
// Spells check the input text before translating.
|
// Spells check the input text before translating.
|
||||||
|
|
||||||
const key = min.instance.spellcheckerKey ? min.instance.spellcheckerKey : min.instance.spellcheckerKey;
|
const key = min.instance.spellcheckerKey ? min.instance.spellcheckerKey : min.instance.spellcheckerKey;
|
||||||
|
|
Loading…
Add table
Reference in a new issue