Remove new lines in script type=application/ld+json
piernik opened this issue · 0 comments
piernik commented
Google supports scripts tags in Structured Data. In that script tags white spaces are not removed:
<script type=application/ld+json>
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
}
</script>
Is it possible to handle that case since there is always type
attribute in script
tag?