Title: Automatically altered/modified JSON code.
Last modified: December 28, 2022

---

# Automatically altered/modified JSON code.

 *  [diweb](https://wordpress.org/support/users/diweb/)
 * (@diweb)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/automatically-altered-modified-json-code/)
 * Automatically altered/modified JSON code.
   Hello, I am detecting that sometimes
   the code is modified in an “automatic” way. In this case a code in JSON. Please
   check my capture.
 * We have tried various ways to paste the code (from the visual tab and from the
   HTML tab). None of this works.
 * We’ve also tried a custom PRISM.JS from our child theme. It does not work.
 * Lastly, we have tried other similar plugins (Highlights in Elementor PRO) and
   this issue is not reproduced.
 * Screenshot: [https://ibb.co/31fk07q](https://ibb.co/31fk07q)

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

 *  Plugin Author [LOOS](https://wordpress.org/support/users/looswebstudio/)
 * (@looswebstudio)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/automatically-altered-modified-json-code/#post-16327232)
 * Can you please tell me all the code for the part that will be altered?
    -  This reply was modified 3 years, 5 months ago by [LOOS](https://wordpress.org/support/users/looswebstudio/).
 *  Plugin Author [LOOS](https://wordpress.org/support/users/looswebstudio/)
 * (@looswebstudio)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/automatically-altered-modified-json-code/#post-16327235)
 * Also, is this problem only on the display side of the site?
 * (If it’s not being altered on the editor, it could be a prism.js spec or a bug.)
 *  Thread Starter [diweb](https://wordpress.org/support/users/diweb/)
 * (@diweb)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/automatically-altered-modified-json-code/#post-16327526)
 * Hi, I am attaching screenshots so you can see how it is displayed from the backend.
   
   Screenshot 1. From the “visual” tab – [https://ibb.co/gTNLH5C](https://ibb.co/gTNLH5C)
   Capture 2. From the “HTML” tab – [https://ibb.co/WFr0mwL](https://ibb.co/WFr0mwL)
   Screenshot 3. From “Highlight Code – Elementor Pro”. This plugin also uses prism.
   js so in principle I would say that it has nothing to do with a bug in prism.
   js [https://ibb.co/HHdbCX7](https://ibb.co/HHdbCX7)
 * You can download the code here: [https://filedn.eu/lK9Fjb0HWdCQIhpP7mw2MXk/pruebas-wiki.json](https://filedn.eu/lK9Fjb0HWdCQIhpP7mw2MXk/pruebas-wiki.json)
 * I thank you in advance for the support and help
    -  This reply was modified 3 years, 5 months ago by [diweb](https://wordpress.org/support/users/diweb/).
 *  Plugin Author [LOOS](https://wordpress.org/support/users/looswebstudio/)
 * (@looswebstudio)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/automatically-altered-modified-json-code/#post-16329674)
 * I tried it with the code you gave me and it displayed correctly in my environment.
   
   [https://gyazo.com/9d0bea7a608d5b58ad529d3f6c73549e](https://gyazo.com/9d0bea7a608d5b58ad529d3f6c73549e)
   PHP: 8.0.22WP: 6.1.1

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

The topic ‘Automatically altered/modified JSON code.’ is closed to new replies.

 * ![](https://ps.w.org/highlighting-code-block/assets/icon-256x256.png?rev=2432522)
 * [Highlighting Code Block](https://wordpress.org/plugins/highlighting-code-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/highlighting-code-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/highlighting-code-block/)
 * [Active Topics](https://wordpress.org/support/plugin/highlighting-code-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/highlighting-code-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/highlighting-code-block/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [LOOS](https://wordpress.org/support/users/looswebstudio/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/automatically-altered-modified-json-code/#post-16329674)
 * Status: not resolved