[wp-trac] [WordPress Trac] #20369: HTML captions: Using double quotes for attributes breaks the ouput

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 6 12:50:01 UTC 2012


#20369: HTML captions: Using double quotes for attributes breaks the ouput
--------------------------+------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Shortcodes    |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by ocean90):

 * keywords:  close => needs-patch


Comment:

 Replying to [comment:1 azaozz]:
 > Yes, when typing the caption shortcode by hand in the HTML editor (did
 you really do that?) care should be taken to use the right quotes.

 No, I'm talking about the image properties popup.

 [[Image(http://f.cl.ly/items/3F0A430T0R3V0e1I2Z1a/Bildschirmfoto%202012-04-06%20um%2014.47.53.png)]]

 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2012-04-05#m382165 sabreuse at IRC]:
 >oh. buggy. When I added a caption at the time I first uploaded the image,
 it stripped the href attribute - so I got bare <a> tags, but not >the
 hrefArray you're seeing. When I inserted a caption on an image that was
 already in the post (i.e. with the edit button that appears on >rollover
 in the editor), the link worked fine.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20369#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list