Title: Javascript in pages gets commented
Last modified: August 18, 2016

---

# Javascript in pages gets commented

 *  [Pegasusteam](https://wordpress.org/support/users/pegasusteam/)
 * (@pegasusteam)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/javascript-in-pages-gets-commented/)
 * I am trying to make a page using a javascript for affiliate products. It worked
   fine in 2.0.6 but in 2.2 it gets commented as in:
    `<script type='text/javascript'
   src='http://www.affdomain...`
 * **turns into:**
    `<script type=\\'text/javascript' src=\\'http://www.affdomain...`
 * Is there a file I can edit to stop wordpress from putting in the backslashes?
   
   Thanks, Ron

Viewing 1 replies (of 1 total)

 *  [Marcel Brinkkemper](https://wordpress.org/support/users/macbrink/)
 * (@macbrink)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/javascript-in-pages-gets-commented/#post-583168)
 * You could use the inline-js plugin.
    [http://www.ooso.net/index.php/inline-js](http://www.ooso.net/index.php/inline-js)

Viewing 1 replies (of 1 total)

The topic ‘Javascript in pages gets commented’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Marcel Brinkkemper](https://wordpress.org/support/users/macbrink/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/javascript-in-pages-gets-commented/#post-583168)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
