From: Ardis Lu Date: Wed, 24 May 2023 04:01:33 +0000 (-0700) Subject: Disable deprecated and unused features X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=0ec0fe3dbf22f4ba214d4bcf46e878b9a66832f6;p=ardislu.dev Disable deprecated and unused features Per new warning in v5 --- diff --git a/script.js b/script.js index fc8aac6..18b5597 100644 --- a/script.js +++ b/script.js @@ -130,7 +130,10 @@ function buildPostComponent(articleContent) { post.insertAdjacentHTML('beforeend', `
- ${marked(articleContent)} + ${marked(articleContent, { + mangle: false, + headerIds: false + })}
`); return post;