[wp-testers] The Captions On Images

Paul Robinson pablorobinson at gmail.com
Sat Jan 3 22:58:54 GMT 2009


Thanks Musing Minds. WP hadn't put it in the alt tag for me, but when I
placed the <br /> in the caption tag instead of writing it in the text field
(in the image options UI) it worked great. It seems as if WP is stripping
<br /> is they are placed in the UI's caption field. At least for me anyway.

Thanks again. Paul.

2009/1/3 Musing Minds <kimsch at musing-minds.com>

> I looked at a post I'd done with a two line caption:
> http://musing-minds.com/2008/12/24/christmas-eve/ and I had to make a
> change
> in the html to get that two line caption working properly. For some reason,
> in the html, it had the <p> the <br /> and the </p> in the alt= as
> alt="&lt;p&gt;Norad Tracks Santa&lt;br /&gt;Click to see where he is!&gt;"
> instead of putting any of that into the caption tag. I put it in as
> caption="<p>Norad Tracks Santa <br /> Click to see where he is!</p>" and it
> works.
>
> So it seems as if WP is putting the caption html into the alt tag instead
> of
> the caption tag.
>
> kimsch
>
> -----Original Message-----
> From: wp-testers-bounces at lists.automattic.com
> [mailto:wp-testers-bounces at lists.automattic.com] On Behalf Of Paul
> Robinson
> Sent: Saturday, January 03, 2009 4:07 PM
> To: wp-testers at lists.automattic.com
> Subject: Re: [wp-testers] The Captions On Images
>
> Ahh I spoke too soon. It seemed to work, but when I've looked back at the
> page it hasn't. I thought it was supercache but I've cleared it and it
> doesn't seem to be that.
>
> It's very odd. I've never had this problem before. I only posted it here in
> the testers because I thought it might have been a bug that could be fixed
> in the 2.7.1 release but maybe it's just me. :(
>
> Paul.
>
> 2009/1/3 Paul Robinson <pablorobinson at gmail.com>
>
> > Ahhh. Thank you. Has been doing my head in for about an hour now. :)
> >
> > Paul.
> >
> > 2009/1/3 Kimsch <kimsch at musing-minds.com>
> >
> > Try enclosing the caption in <p></p> tags. The <br /> will work then.
> >>
> >> kimsch
> >> Sent from my treo
> >>
> >> -----Original Message-----
> >> From: Paul Robinson <pablorobinson at gmail.com>
> >> Sent: Saturday, January 03, 2009 2:58 PM
> >> To: wp-testers at lists.automattic.com
> >> Subject: [wp-testers] The Captions On Images
> >>
> >> I've just noticed an odd problem with the caption system. I've just
> added
> >> a
> >> tradition XHTML style <br /> into a caption & updated it. The TinyMCE
> >> editor
> >> showed the effects but when I've saved it & looked at the post the <br
> />
> >> has been removed. I've tried a few times & the same thing happens each
> >> time_______________________________________________
> >> wp-testers mailing list
> >> wp-testers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-testers
> >>
> >
> >
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list