Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: 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 CreditAttribution: mcarrera commentedsusbscribe
Comment #3
david.a.king CreditAttribution: 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 CreditAttribution: 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.