Static GitHub Issues

[1164] How correctly use ld+json scripts

prev: migration guide / breaking changes | from 1.0.0-alpha.4 to 1.0.0-rc1
next: persian and arabic language issue in nuxt page

Hi, I want to use in head() props of page script with ld+json content type. With documentation of vue-meta I set example:

script: [
  { innerHTML: '{ "@context": "http://schema.org" }', type: 'application/ld+json' }
]

but on rendered page I has output with

<script data-n-head="true" type="application/ld+json">{ &quot;@context&quot;: &quot;http://schema.org&quot; }</script>

As you can see, content inside tag was escaped and not valid. How I must set vue-meta for correct usage?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1022">#c1022</a>)</em></sub></div>