mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-05 07:19:49 +00:00
uncomment sanitizing
This commit is contained in:
parent
8363c5c3cf
commit
334d357189
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user