From 334d357189d98b160038cdb8a637b7adca7fc565 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 9 Nov 2023 19:23:04 +0100 Subject: [PATCH] uncomment sanitizing --- .../public/vuejs/HomepageWidget/DashboardWidgets/News.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/DashboardWidgets/News.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/DashboardWidgets/News.vue index 366dfa329..208025983 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/DashboardWidgets/News.vue +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/DashboardWidgets/News.vue @@ -62,10 +62,7 @@ const truncateContent = (content, maxLength = 100) => { const convertMarkdownToHtml = (markdown) => { const rawHtml = marked(markdown); - return rawHtml; -/* console.log('rawhtml', rawHtml) - console.log('sanitized', DOMPurify.sanitize(rawHtml)) - return DOMPurify.sanitize(rawHtml)*/ + return DOMPurify.sanitize(rawHtml) }; const truncateMarkdownContent = (content, maxLength = 100) => {