Title: JSON-LD (Schema) Rendering Issues
Last modified: January 11, 2017

---

# JSON-LD (Schema) Rendering Issues

 *  [thomas09427](https://wordpress.org/support/users/thomas09427/)
 * (@thomas09427)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/json-ld-schema-rendering-issues/)
 * Love your plugin. I’ve worked with a dozen and yours is the best so far.
 * I’m trying to get JSON-LD examples in blog posts but when I try to view it it’s
   all messed up. If I remove the <script> tags it works fine but I want my users
   to be able to post the sample code to Google Structured Data Tool.
 * **Example Code **
    <script type=”application/ld+json”> { “@context”: “[http://schema.org&#8221](http://schema.org&#8221);,“
   @type”: “LocalBusiness”, “address”: { “@type”: “PostalAddress”, “addressLocality”:“
   Mexico Beach”, “addressRegion”: “FL”, “streetAddress”: “3102 Highway 98” }, “
   description”: “A superb collection of fine gifts and clothing to accent your 
   stay in Mexico Beach.”, “name”: “Beachwalk Beachwear & Giftware”, “telephone”:“
   850-648-4200” } </script>

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [thomas09427](https://wordpress.org/support/users/thomas09427/)
 * (@thomas09427)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/json-ld-schema-rendering-issues/#post-8643081)
 * Also, I’ve tried JSON, Javascript, Schema, PHP, and HTML for languages and always
   get the same results.
 * Thanks for your time.
 * Thomas
 *  Thread Starter [thomas09427](https://wordpress.org/support/users/thomas09427/)
 * (@thomas09427)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/json-ld-schema-rendering-issues/#post-8651328)
 * Ok, I figured it out.I was pasting the code from a Google Doc. So I’m going to
   guess it was the formatting inserted from copying and pasting. I used an HTML
   encoder to remove the formatting then used the code.
 * Works awesome now.
 * Great plugin.
 * Thanks
 *  Plugin Contributor [Yoav Kadosh](https://wordpress.org/support/users/ykadosh/)
 * (@ykadosh)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/json-ld-schema-rendering-issues/#post-8787149)
 * Hi there, sorry for the late response.
    Yes, there is an issue with encoding 
   SCRIPT tags. I’m glad you’ve found a workaround, but i’m working on a permanent
   fix for it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JSON-LD (Schema) Rendering Issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mivhak_86b0b1.svg)
 * [Mivhak Syntax Highlighter](https://wordpress.org/plugins/mivhak/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mivhak/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mivhak/)
 * [Active Topics](https://wordpress.org/support/plugin/mivhak/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mivhak/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mivhak/reviews/)

## Tags

 * [json-ld](https://wordpress.org/support/topic-tag/json-ld/)

 * 3 replies
 * 2 participants
 * Last reply from: [Yoav Kadosh](https://wordpress.org/support/users/ykadosh/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/json-ld-schema-rendering-issues/#post-8787149)
 * Status: not resolved