Title: code strippage
Last modified: February 8, 2017

---

# code strippage

 *  Resolved [hoboken411](https://wordpress.org/support/users/hoboken411/)
 * (@hoboken411)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-strippage/)
 * Question – what part of Jetpack causes embeddable codes to get stripped? Like
   a javascript video code?
 * I’m writing a post in HTML trying to embed some code – and each time I hit “save”
   it strip some out.
 * 1. How can I get the code to stay (unstripped)? Is there a setting?
    2. Otherwise–
   is there some additional code I can put before and after to ensure it stays?
 * Thanks

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-strippage/#post-8787118)
 * Jetpack itself won’t do this on you site, unless the Video code is a supported
   Jetpack Shortcode:
    [https://jetpack.com/support/shortcode-embeds/](https://jetpack.com/support/shortcode-embeds/)
 * If that’s the case, the JavaScript code will be replaced by a shortcode that 
   should display the video quite nicely on your site.
 * If the code is just replaced, it could be because you’re not allowed to insert
   unfiltered HTML and JavaScript on your site. For example, if you’re an editor
   or a site admin on a multisite network, you won’t have the `unfiltered_html` 
   capability that allows single site admins and multisite super admins to insert
   any JavaScript on a page.
 * In this case, I’m afraid I can only recommend that you contact your site admin
   or your super admin and ask them if they could allow you to insert unfiltered
   HTML.
 * I hope this helps.
 *  Thread Starter [hoboken411](https://wordpress.org/support/users/hoboken411/)
 * (@hoboken411)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-strippage/#post-8788267)
 * Thanks – I never knew that authors or contributors (non-Admins) had their code
   stripped like that.
 * I’ll give that a shot – much appreciated – even though it may not have been directly
   related to JetPack! Kudos!

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

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

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [java](https://wordpress.org/support/topic-tag/java/)
 * [markdown](https://wordpress.org/support/topic-tag/markdown/)

 * 2 replies
 * 2 participants
 * Last reply from: [hoboken411](https://wordpress.org/support/users/hoboken411/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/code-strippage/#post-8788267)
 * Status: resolved