From 27b2ccee392924ded1dcc5e0cd9d3310ca200681 Mon Sep 17 00:00:00 2001 From: SnowCait Date: Wed, 13 Nov 2024 04:59:10 +0900 Subject: [PATCH] Fix description --- web/src/routes/(app)/[slug=npub]/+layout.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/(app)/[slug=npub]/+layout.server.ts b/web/src/routes/(app)/[slug=npub]/+layout.server.ts index 1d6adbc7..9fe99578 100644 --- a/web/src/routes/(app)/[slug=npub]/+layout.server.ts +++ b/web/src/routes/(app)/[slug=npub]/+layout.server.ts @@ -47,7 +47,7 @@ export const load: LayoutServerLoad = async ({ params }) => { relays, metadataEvent, title: `${appName} - ${metadata?.displayName ?? 'ghost'}`, - description: metadata?.about ?? '' + description: metadata?.about.replaceAll('\n', ' ') ?? '' }; if (metadata?.picture) { data.image = metadata.picture;