From 03cb3cc48eef61360d89f9df69e2fa624e7bbcf3 Mon Sep 17 00:00:00 2001 From: Jake Fulmine Date: Sun, 13 Aug 2023 12:15:42 +0200 Subject: [PATCH] fix(dashboard): parse hyperlinks in system pronouns and name --- dashboard/src/components/system/Body.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/components/system/Body.svelte b/dashboard/src/components/system/Body.svelte index 0485a648..2c8721cc 100644 --- a/dashboard/src/components/system/Body.svelte +++ b/dashboard/src/components/system/Body.svelte @@ -23,11 +23,11 @@ } if (user.name) { - htmlNamePromise = parseMarkdown(user.name); + htmlNamePromise = parseMarkdown(user.name, { embed: true, parseTimestamps: true }); } if (user.pronouns) { - htmlPronounsPromise = parseMarkdown(user.pronouns); + htmlPronounsPromise = parseMarkdown(user.pronouns, { embed: true, parseTimestamps: true }); } let created = moment(user.created).format("MMM D, YYYY");