mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-05 00:19:59 +00:00
fix: clear emojis from head title (#111)
This commit is contained in:
parent
94cd7c72f6
commit
2cf970225f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const account = await fetchAccountByName(accountName).catch(() => null)
|
|||
|
||||
if (account) {
|
||||
useHead({
|
||||
title: `${account.displayName} (@${account.acct})`,
|
||||
title: () => `${account.displayName?.replace(/\:\w+\:/g, '') ?? ''} (@${account.acct})`,
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue