Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

geoffharcourt
Copy link
Contributor

Google encourages site authors to present structured data to give
explicit clues about the meaning of content on the page. This change
adds the script type, application/ld+json, to the allowed script tag
types.

Page from Google's search docs:
https://developers.google.com/search/docs/guides/intro-structured-data

Example from the docs:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "url": "http://www.example.com",
  "name": "Unlimited Ball Bearings Corp.",
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+1-401-555-1212",
    "contactType": "Customer service"
  }
}
</script>

Google encourages site authors to present structured data to give
explicit clues about the meaning of content on the page. This change
adds the script type, `application/ld+json`, to the allowed script tag
types.

Page from Google's search docs:
https://developers.google.com/search/docs/guides/intro-structured-data

Example from the docs:

```
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "url": "http://www.example.com",
  "name": "Unlimited Ball Bearings Corp.",
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+1-401-555-1212",
    "contactType": "Customer service"
  }
}
</script>
```
@rafaelfranca rafaelfranca merged commit 7c6af7f into Shopify:master Aug 11, 2022
@geoffharcourt geoffharcourt deleted the allow-structured-data-tag branch August 11, 2022 19:21
flavorjones added a commit that referenced this pull request Aug 12, 2022
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems August 16, 2022 14:43 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants