From a9adcccd0be44aba50b36c2dea296e51c6bb6317 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Fri, 14 Feb 2025 16:54:44 +0100 Subject: [PATCH] update changelog --- web/app/changelog/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app/changelog/page.tsx b/web/app/changelog/page.tsx index ae5b85a..fabdff2 100644 --- a/web/app/changelog/page.tsx +++ b/web/app/changelog/page.tsx @@ -7,7 +7,9 @@ async function getChangelog() { const changelogPath = path.join(process.cwd(), "..", "CHANGELOG.md") try { const fileContents = fs.readFileSync(changelogPath, "utf8") - const result = await remark().use(html).process(fileContents) + const result = await remark() + .use(html, { sanitize: false }) // This allows HTML in the Markdown + .process(fileContents) return result.toString() } catch (error) { console.error("Error reading changelog file:", error) @@ -22,10 +24,8 @@ export default async function ChangelogPage() {

Changelog

-
+
) } - -