From a6ec2a5bc260aa1be0e97c4be674266748fe093d Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 3 May 2023 16:18:34 +0200 Subject: [bugfix] Fix invalid og:description on account w/ empty note (#1733) --- internal/web/opengraph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/web/opengraph.go') 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 -- cgit v1.2.3