Lightbox and the dreaded quotation marks.
-
- Posts: 2
- Joined: 22 Sep 2011, 13:57
Lightbox and the dreaded quotation marks.
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.
-
- Site Admin
- Posts: 2077
- Joined: 02 Mar 2009, 17:02
Re: Lightbox and the dreaded quotation marks.
It's recommended to use " for quotation marks in HTML so you can use in your long descriptions too.
-
- Posts: 2
- Joined: 22 Sep 2011, 13:57
Re: Lightbox and the dreaded quotation marks.
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.