<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ .Permalink }}"
},
"headline": "{{ .Title }}",
"image": "{{ .Params.image.src }}",
"author": {
"@type": "Organization",
"name": "{{ safeHTML .Site.Params.SiteTitle }}",
"url": "{{ .Site.BaseURL }}"
},
"publisher": {
"@type": "Organization",
"name": "Name",
"logo": {
"@type": "ImageObject",
"url": "{{ .Site.BaseURL }}/img/logo.png"
}
},
"datePublished": "{{ .Params.date }}",
"dateModified": "{{ .Params.lastmod }}"
}
</script>
For some reason the code above is outputting \ /
instead of //
below, how can I solve this problem?
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "http:\/\/localhost:1313\/en\/blog\/merhaba-dunya\/"
},
"headline": "Merhaba Dünya!",
"image": "https:\/\/name.com\/tr\/wp-content\/uploads\/2022\/09\/xss.png",
"author": {
"@type": "Organization",
"name": "Name",
"url": "http:\/\/localhost:1313\/"
},
"publisher": {
"@type": "Organization",
"name": "Name",
"logo": {
"@type": "ImageObject",
"url": "https://name.com/img/logo.png"
}
},
"datePublished": "2021-04-10 09:19:32 \u002b0100 \u002b0100",
"dateModified": "2022-01-10 09:19:32 \u002b0100 \u002b0100"
}
</script>