diff --git a/public/components/main/__tests__/__snapshots__/main.test.tsx.snap b/public/components/main/__tests__/__snapshots__/main.test.tsx.snap index 55d94177..68172576 100644 --- a/public/components/main/__tests__/__snapshots__/main.test.tsx.snap +++ b/public/components/main/__tests__/__snapshots__/main.test.tsx.snap @@ -59,7 +59,7 @@ exports[`
panel render component 1`] = ` />
panel render component 1`] = `
panel render component after create success 1`] = ` />
panel render component after create success 1`] = `
panel render component after delete success 1`] = ` />
panel render component after delete success 1`] = `
panel render component after edit success 1`] = ` />
panel render component after edit success 1`] = `
panel render component 1`] = `
panel render component 1`] = `
panel render component 1`] = ` exports[` panel render empty component 1`] = `
panel render empty component 1`] = `
- Promise.resolve(converter.makeHtml(markdown)) + Promise.resolve(DOMPurify.sanitize(converter.makeHtml(markdown))) } /> @@ -349,7 +352,7 @@ export function ReportSettings(props: ReportSettingProps) { ['unordered-list', 'ordered-list', 'checked-list'], ]} generateMarkdownPreview={(markdown) => - Promise.resolve(converter.makeHtml(markdown)) + Promise.resolve(DOMPurify.sanitize(converter.makeHtml(markdown))) } />