Title: [Plugin: WP-Markdown] Breaks image caption
Last modified: August 20, 2016

---

# [Plugin: WP-Markdown] Breaks image caption

 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-breaks-image-caption/)
 * Hello,
    your plugin modifies image caption code. Here is an example of the code
   it generates
 * `[caption id="attachment_13853" align="alignleft" width="322" caption="Pierre-
   Louis Mangeard, à droite en polo blanc, prêt à agir"][<img src="http://www.li-
   an.fr/blog/wp-content/uploads/2012/03/mozezli-mangeard.jpg" alt="mozezli-mangeard"
   title="mozezli-mangeard" width="322" height="250" class="size-medium wp-image-
   13853" />][3][/caption]`
 * See the [3] ? It will be shown in the post… Example here: [http://tof.canardpc.com/view/89e4f106-0445-4f44-afbc-a2fd0421111f.jpg](http://tof.canardpc.com/view/89e4f106-0445-4f44-afbc-a2fd0421111f.jpg)
 * [http://wordpress.org/extend/plugins/wp-markdown/](http://wordpress.org/extend/plugins/wp-markdown/)

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

 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenh1988/)
 * (@stephenh1988)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-breaks-image-caption/#post-2628380)
 * Thanks Li-An,
    I’ll have a look and post any updates here.
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenh1988/)
 * (@stephenh1988)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-breaks-image-caption/#post-2628383)
 * After some tests, I found that putting a blank line between the caption shortcode
   and its content did the trick:
 *     ```
       [caption id="attachment_13853" align="alignleft" width="322" caption="Pierre-Louis Mangeard, à droite en polo blanc, prêt à agir"]
   
       [<img src="http://www.li-an.fr/blog/wp-content/uploads/2012/03/mozezli-mangeard.jpg" alt="mozezli-mangeard" title="mozezli-mangeard" width="322" height="250" class="size-medium wp-image-13853" />][1]
   
       [/caption]
       ```
   
 * I shall look further into what’s happenig and if it can be fixed, but I’d recommend
   spacing as shown.
 *  Thread Starter [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-breaks-image-caption/#post-2628391)
 * OK. I hope you will find a solution…

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

The topic ‘[Plugin: WP-Markdown] Breaks image caption’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-markdown_d5ecec.svg)
 * [WP-Markdown](https://wordpress.org/plugins/wp-markdown/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-markdown/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-markdown/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-markdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-markdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-markdown/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Li-An](https://wordpress.org/support/users/li-an/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-breaks-image-caption/#post-2628391)
 * Status: not resolved