From 571b6d1a7cf70bea79e9e4ab88b4cff61cc3438d Mon Sep 17 00:00:00 2001 From: Renato Date: Fri, 24 Jul 2026 02:55:56 +0200 Subject: [PATCH] fix(web): render Sinopsis section only when valid LLM synopsis text exists --- src/app/(public)/p/[slug]/page.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/(public)/p/[slug]/page.tsx b/src/app/(public)/p/[slug]/page.tsx index 06b1ab4..be57a51 100644 --- a/src/app/(public)/p/[slug]/page.tsx +++ b/src/app/(public)/p/[slug]/page.tsx @@ -34,6 +34,13 @@ export default async function PostDetailPage({ ? `https://e-hentai.org/g/${post.gid}/` : null) + const isRealSynopsis = Boolean( + post.summary && + !post.summary.startsWith("**") && + !post.summary.startsWith("Fuente:") && + post.summary.length > 50 + ) + return (
- {post.summary && ( + {isRealSynopsis && (

Sinopsis

{post.summary}