Skip to content

Commit 3fd5470

Browse files
committed
Fix encoded jsonld SEO meta component
1 parent 3c23a94 commit 3fd5470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎components/meta/seo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const SEO = (props: SEOProps) => {
7272
{seoImage && <meta property="og:image" content={seoImage.url} />}
7373
{seoImage && <meta property="og:image:width" content={`${seoImage.dimensions.width}`} />}
7474
{seoImage && <meta property="og:image:height" content={`${seoImage.dimensions.height}`} />}
75-
<script type="application/ld+json">{JSON.stringify(jsonLd, undefined, 4)}</script>
75+
<script type="application/ld+json" dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}></script>
7676
</Head>
7777
)
7878
}

0 commit comments

Comments
 (0)