mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 20:12:25 -05:00
[bugfix] Fix invalid og:description on account w/ empty note (#1733)
This commit is contained in:
parent
c41c1f90a6
commit
a6ec2a5bc2
2 changed files with 68 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue