fix(editor): Fixing XSS vulnerability in toast messages (#10329)

Co-authored-by: Adi <aditya@netroy.in>
This commit is contained in:
Milorad FIlipović
2024-08-08 16:28:51 +02:00
committed by GitHub
parent b6c47c0e32
commit 38bdd9f5d0
5 changed files with 25 additions and 18 deletions

View File

@@ -94,6 +94,7 @@ async function send() {
message: Number(form.value.value) >= 8 ? i18n.baseText('prompts.npsSurvey.reviewUs') : '',
type: 'success',
duration: 15000,
dangerouslyUseHTMLString: true,
});
setTimeout(() => {