From 316f83edf2687eeea8501ffc08d4174ed5898f85 Mon Sep 17 00:00:00 2001 From: bytedream Date: Sat, 31 Oct 2026 14:34:17 +0100 Subject: [PATCH] respect newlines in video long description --- src/pages/video/[name].astro | 2 +- src/util/video.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/video/[name].astro b/src/pages/video/[name].astro index a468b27..fa12b58 100644 --- a/src/pages/video/[name].astro +++ b/src/pages/video/[name].astro @@ -38,7 +38,7 @@ const thumbnailUrl = siteUrl(`video/${encodeURIComponent(video.name)}/thumbnail. {longDescription && ( -

{longDescription}

+

{longDescription}

)} diff --git a/src/util/video.ts b/src/util/video.ts index f115d5b..a8a4f3f 100644 --- a/src/util/video.ts +++ b/src/util/video.ts @@ -116,7 +116,7 @@ export async function getVideoMetadata(video: ResolvedVideo): Promise