WordPress.org

Ready to get started?Download WordPress

Forums

WP-Markdown
Breaks image caption (4 posts)

  1. Li-An
    Member
    Posted 2 years ago #

    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://wordpress.org/extend/plugins/wp-markdown/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks Li-An,
    I'll have a look and post any updates here.

  3. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  4. Li-An
    Member
    Posted 2 years ago #

    OK. I hope you will find a solution...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic