mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-21 15:02:39 +02:00
chore(deps): upgrade dependencies and remove production vulnerabilities
This commit is contained in:
1 parent
9435a99b6c
commit
fd0dd0adbd
29 files changed
+5220
-21129
No files matched your search
@@ -34,7 +34,7 @@ const sanitizeOptions = {
|
||||
* sanitizeHtml(marked(content, opts), sanitizeOptions)
|
||||
*/
|
||||
function renderAndSanitize(markdown) {
|
||||
const raw = marked(markdown, { headerIds: false, mangle: false });
|
||||
const raw = marked(markdown, { async: false });
|
||||
return sanitizeHtml(raw, sanitizeOptions);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user