fix(page.tsx): update JSON-LD serialization to escape special characters

This commit is contained in:
Fatih Kadir Akın
2026-03-19 10:29:41 +03:00
parent 9684a58dbc
commit 6505f7601f
+1 -1
View File
@@ -130,7 +130,7 @@ export default async function BookHomePage() {
{/* JSON-LD structured data */}
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd).replace(/</g, '\\u003c') }}
/>
<div className="max-w-2xl">
{/* Continue Reading Button */}