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 <[email protected]> > 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="<p>Norad Tracks Santa<br />Click to see where he is!>" > 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: [email protected] > [mailto:[email protected]] On Behalf Of Paul > Robinson > Sent: Saturday, January 03, 2009 4:07 PM > To: [email protected] > 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 <[email protected]> > > > Ahhh. Thank you. Has been doing my head in for about an hour now. :) > > > > Paul. > > > > 2009/1/3 Kimsch <[email protected]> > > > > Try enclosing the caption in <p></p> tags. The <br /> will work then. > >> > >> kimsch > >> Sent from my treo > >> > >> -----Original Message----- > >> From: Paul Robinson <[email protected]> > >> Sent: Saturday, January 03, 2009 2:58 PM > >> To: [email protected] > >> 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 > >> [email protected] > >> http://lists.automattic.com/mailman/listinfo/wp-testers > >> > > > > > _______________________________________________ > wp-testers mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-testers > > _______________________________________________ > wp-testers mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-testers > _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
