mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(dashboard): parse hyperlinks in system pronouns and name
This commit is contained in:
parent
47ed819ea2
commit
03cb3cc48e
1 changed files with 2 additions and 2 deletions
|
|
@ -23,11 +23,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user.name) {
|
if (user.name) {
|
||||||
htmlNamePromise = parseMarkdown(user.name);
|
htmlNamePromise = parseMarkdown(user.name, { embed: true, parseTimestamps: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user.pronouns) {
|
if (user.pronouns) {
|
||||||
htmlPronounsPromise = parseMarkdown(user.pronouns);
|
htmlPronounsPromise = parseMarkdown(user.pronouns, { embed: true, parseTimestamps: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
let created = moment(user.created).format("MMM D, YYYY");
|
let created = moment(user.created).format("MMM D, YYYY");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue