fix(page.tsx): update JSON-LD serialization to escape special characters
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user