Active
Project:
Lightbox2
Version:
6.x-1.9
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2011 at 18:42 UTC
Updated:
18 Mar 2011 at 17:09 UTC
should i be able to put html in captions?
if i use rel="lightvideo[][caption]" then "caption" appears below, if i use rel="lightvideo[][caption]" then nothing appears..
doesn't seem to be filtered by input filters as it is present when i look at the source.
thanks,
david
Comments
Comment #1
david.a.king commentedsorry, second code with html that doesn't work should be
rel="lightvideo[][<em>caption</em>]"obviously, or anything elseComment #2
mcarrera commentedsusbscribe
Comment #3
david.a.king commentedtracked this down to being filtered out by "filterxss" and removed that on 724 of lightbox.js - don't entirely understand why or what it's doing and seems to be related to a security alert http://drupal.org/node/304873#comment-3956670
obviously i'd prefer a better solution!
Comment #4
Matt-H commentedAre you using the < and > characters, or the html entities < and >? In other words, is your code
rel="lightvideo[][<em>caption</em>]"or
rel="lightvideo[][<em>caption</em>]"?
In the README.txt, it describes "Turning the Image Caption into a Link" and for that HTML, it gives the note:
So I suspect you would need to do the same with other html in the caption.