Bootstrap-image-gallery descriptions not working

I can’t get descriptions to work in bootstrap-image-gallery My links
look
like this
" data-description = "<%= task.comment %>" data-gallery >
so what could be so wrong,