fix(dashboard): parse hyperlinks in system pronouns and name

This commit is contained in:
Jake Fulmine 2023-08-13 12:15:42 +02:00
parent 47ed819ea2
commit 03cb3cc48e

View file

@ -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");