Title: code changes
Last modified: March 16, 2020

---

# code changes

 *  Resolved [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/)
 * Hi Jeff!
    Hope you are doing great!
 * My HTML codes are changing to encoded format at frontend.
 * Thanks & Regards,
    Gulshan
    -  This topic was modified 6 years, 2 months ago by [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/).
    -  This topic was modified 6 years, 2 months ago by [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/).
      Reason: html encoded
    -  This topic was modified 6 years, 2 months ago by [Yui](https://wordpress.org/support/users/fierevere/).

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12549474)
 * Yes you can enable code escaping option, located on whichever tab (Prism, Highlight,
   Plain) you have enabled in the plugin settings.
 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12552490)
 * Already done that. How do I prevent Prismatic changing my code to ascii string?
   
   Ref: screenshot [https://i0.wp.com/i.imgur.com/GyCXNw9.jpg?ssl=1](https://i0.wp.com/i.imgur.com/GyCXNw9.jpg?ssl=1)
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12553565)
 * I’m not sure. It does not happen on default WP with the code escape option enabled.
   So it sounds like something is interfering with normal functionality. Are you
   familiar with troubleshooting plugins, theme, etc.?
 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12553702)
 * I got why my code was changing. I had Code Escaping enabled for Frontend and 
   Admin area.
 * **This is how I solved**
    As I disabled it, code started appearing as expected.
   I was confused with term Code Escaping thought it is enable/disable.
 * **Now, there is only one issue. **
    I am using Prism library with Line number
   enabled but it doesn’t show at frontend. Are you aware of this issue?
 * Thanks
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12553720)
 * Line numbers are working fine on default WP install, for example after enable
   in the Prism settings, any code block will have line numbers by adding the classes`
   language-php line-numbers` to the pre tag.
 * If that is not working, then something is interfering with normal functionality.
    -  This reply was modified 6 years, 2 months ago by [Jeff Starr](https://wordpress.org/support/users/specialk/).
      Reason: code formatting issues
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12553737)
 * You can verify on default WP running the default theme/plugins.
 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12553778)
 * I tried on fresh WordPress.
    This video shows my complete steps [https://youtu.be/LuG4PlSo5KM](https://youtu.be/LuG4PlSo5KM)
 * URL in question: [https://wordpress-315148-1199852.cloudwaysapps.com/some-php-code/](https://wordpress-315148-1199852.cloudwaysapps.com/some-php-code/)
    -  This reply was modified 6 years, 2 months ago by [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/).
      Reason: added URL for reference
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12553843)
 * Thanks for the video. It looks like you have not added the `line-numbers` class.
   You can check by clicking the block options and then “Edit as HTML”. The markup
   will then show, where you can see which classes are added to the pre tag. So 
   you can add the `line-numbers` class directly by editing the HTML, or you can
   add by clicking Advanced in the block editor sidebar, under “Additional CSS Class(
   es)”.
 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12554022)
 * Adding class works. Can you please automate this process if Line Number is enabled
   in plugin? It would save the hassle of adding a class all the time manually.
 * Thanks
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12554084)
 * Yes, it is a good idea. I have added to the to-do list. May not make in the next/
   upcoming version (which already is wrapping up), but definitely at some point
   will add this feature. Thanks.

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

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

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

 * 10 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/code-changes-3/#post-12554084)
 * Status: resolved