Title: Weird code changes when saving
Last modified: June 10, 2017

---

# Weird code changes when saving

 *  Resolved [SVTX](https://wordpress.org/support/users/svtx/)
 * (@svtx)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/weird-code-changes-when-saving/)
 * Spot the difference. Red is the original, green the code in the plugin after 
   the save button was hit..
 * [https://www.diffchecker.com/eCuDnwqj](https://www.diffchecker.com/eCuDnwqj)
 * That’s rather odd, right?

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

 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/weird-code-changes-when-saving/#post-9215900)
 * Yes, that is not the right behavior.
 * I don’t manage to replicate this on my test website. I’m assuming it could be
   an WordPress option, or maybe an Apache or PHP setting …
 * Could you possibly give me access to the website where you’re experiencing this
   problem? Or maybe quickly set me up a test website on the same server? That would
   be very helpful in order to debug this.
 *  Thread Starter [SVTX](https://wordpress.org/support/users/svtx/)
 * (@svtx)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/weird-code-changes-when-saving/#post-9215924)
 * Yes, anything else would probably not make much sense. I’ve sent an invite to
   the email address linked from your website. Have at it 🙂
 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/weird-code-changes-when-saving/#post-9216232)
 * Thank you for the admin access. That was very helpful.
 * I think there is a code somewhere, whether from a WordPress option, a plugin 
   or a code snippet, that puts an additional htmlentities on save.
 * Anyway, it should be working correctly now.
 *  Thread Starter [SVTX](https://wordpress.org/support/users/svtx/)
 * (@svtx)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/weird-code-changes-when-saving/#post-9217147)
 * Thanks, that seems to have worked, whatever it was you did^^

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

The topic ‘Weird code changes when saving’ is closed to new replies.

 * ![](https://ps.w.org/custom-css-js/assets/icon-128x128.png?rev=1303730)
 * [Simple Custom CSS and JS](https://wordpress.org/plugins/custom-css-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-css-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-js/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-js/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [SVTX](https://wordpress.org/support/users/svtx/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/weird-code-changes-when-saving/#post-9217147)
 * Status: resolved