Page 1 of 1

Lightbox and the dreaded quotation marks.

Posted: 22 Sep 2011, 23:16
by MBSteve
I just noticed that generating a Lightbox gallery with a long description of the image that included quotation marks truncates the description just before the first quotation mark. I just worked around by using an apostrophe instead. It's all right in the imageXXXX.html file generated so it must be in the Lightbox script.

Re: Lightbox and the dreaded quotation marks.

Posted: 23 Sep 2011, 10:35
by Maxim
It's recommended to use " for quotation marks in HTML so you can use in your long descriptions too.

Re: Lightbox and the dreaded quotation marks.

Posted: 23 Sep 2011, 13:45
by MBSteve
Thanks Maxim. Partly my mistake in that the " has to be put in the index page where Lightbox uses the title tag when it generates the image and caption. But you can put them in the Long Description too.