mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] Fix invalid og:description on account w/ empty note (#1733)
This commit is contained in:
@ -91,7 +91,7 @@ func (og *ogMeta) withAccount(account *apimodel.Account) *ogMeta {
|
||||
if account.Note != "" {
|
||||
og.Description = parseDescription(account.Note)
|
||||
} else {
|
||||
og.Description = "This GoToSocial user hasn't written a bio yet!"
|
||||
og.Description = `content="This GoToSocial user hasn't written a bio yet!"`
|
||||
}
|
||||
|
||||
og.Image = account.Avatar
|
||||
|
Reference in New Issue
Block a user