diff options
author | 2023-05-03 16:18:34 +0200 | |
---|---|---|
committer | 2023-05-03 16:18:34 +0200 | |
commit | a6ec2a5bc260aa1be0e97c4be674266748fe093d (patch) | |
tree | ec978ca7020e5f47fa36ac1cc5ae1f5a6de13805 /internal/web/opengraph.go | |
parent | [chore] Hide vendor from diffs (#1729) (diff) | |
download | gotosocial-a6ec2a5bc260aa1be0e97c4be674266748fe093d.tar.xz |
[bugfix] Fix invalid og:description on account w/ empty note (#1733)
Diffstat (limited to 'internal/web/opengraph.go')
-rw-r--r-- | internal/web/opengraph.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/opengraph.go b/internal/web/opengraph.go index ff5a5f015..12989160c 100644 --- a/internal/web/opengraph.go +++ b/internal/web/opengraph.go @@ -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 |