Title: incorrect code generate from jetpack:picture
Last modified: August 22, 2016

---

# incorrect code generate from jetpack:picture

 *  Resolved [grmx5](https://wordpress.org/support/users/grmx5/)
 * (@grmx5)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/incorrect-code-generate-from-jetpackpicture/)
 * If I create a widget jetpack:picture and I use “open link in new tab/window”,
   the generated code is incorrect. The statement href … is shown twice. One with“
   target=…” and one without this.
 * If I don’t use this “open link in new tab…” the code is correct.
    See this screenshots:
   [http://www.bluestream.at/mx/jetpack_problem.jpg](http://www.bluestream.at/mx/jetpack_problem.jpg)
 * I use WP 4.1.1 german and jetpack 3.3.2 german
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [11 years, 2 months ago](https://wordpress.org/support/topic/incorrect-code-generate-from-jetpackpicture/#post-5891142)
 * Thanks for the report!
 * We’ll get this fixed in the next version of Jetpack. In the meantime, if you’d
   like to fix things on your site you can apply the following change:
    [https://github.com/Automattic/jetpack/commit/a1bb434a46f5eceab0f5e2c112cf695651911cf1](https://github.com/Automattic/jetpack/commit/a1bb434a46f5eceab0f5e2c112cf695651911cf1)

Viewing 1 replies (of 1 total)

The topic ‘incorrect code generate from jetpack:picture’ 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

 * [href](https://wordpress.org/support/topic-tag/href/)
 * [picture/](https://wordpress.org/support/topic-tag/picture/)
 * [twice](https://wordpress.org/support/topic-tag/twice/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/incorrect-code-generate-from-jetpackpicture/#post-5891142)
 * Status: resolved