Title: Quote within javascript code being replaced by asci code
Last modified: July 12, 2023

---

# Quote within javascript code being replaced by asci code

 *  Resolved [codescribler](https://wordpress.org/support/users/codescribler/)
 * (@codescribler)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/)
 * The quotes within some JavaScript is being replaced by what looks like an asci
   code. Here is the the line within the editor:
 *  data-bind=”visible: rating() >= 4″
 * And it’s output like this:
 * data-bind=”visible: rating() >= 4“

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

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/#post-16889463)
 * I can’t see any difference in what you’ve posted. Is it possible you could take
   a screenshot to show exactly how it’s changed?
 *  Thread Starter [codescribler](https://wordpress.org/support/users/codescribler/)
 * (@codescribler)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/#post-16889550)
 * Ah yes:
 * Pic 1 is how it is in the code editor:
 * ![](https://i0.wp.com/dreamfree.co.uk/wp-content/uploads/2023/07/howitlooksincodesnippet.
   png?ssl=1)
 * Pic 2 how it renders in page source:
 * ![](https://i0.wp.com/dreamfree.co.uk/wp-content/uploads/2023/07/howitlooksinpagesource.
   png?ssl=1)
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/#post-16889680)
 * Thanks! This looks like it’s probably related to the changes we introduced in
   v3.4.2 to avoid errors with modsecurity.
 * I’ll look into it and see if I can find a solution.
 *  Thread Starter [codescribler](https://wordpress.org/support/users/codescribler/)
 * (@codescribler)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/#post-16890030)
 * Let me know if you want to access it directly.
 *  Thread Starter [codescribler](https://wordpress.org/support/users/codescribler/)
 * (@codescribler)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/#post-16900932)
 * Any progress on this?
 *  Plugin Author [Atif Riaz](https://wordpress.org/support/users/lightbulbman/)
 * (@lightbulbman)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/#post-17111992)
 * Hi [@codescribler](https://wordpress.org/support/users/codescribler/) , 
   Just
   wanted to check if updating to v3.5.1 has helped resolve this issue?

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

The topic ‘Quote within javascript code being replaced by asci code’ is closed to
new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

## Tags

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

 * 7 replies
 * 3 participants
 * Last reply from: [Atif Riaz](https://wordpress.org/support/users/lightbulbman/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/quote-within-javascript-code-being-replaced-by-asci-code/#post-17111992)
 * Status: resolved