summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
Diffstat (limited to 'filters')
-rw-r--r--filters/macros.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/macros.lua b/filters/macros.lua
index df08676..cb7975b 100644
--- a/filters/macros.lua
+++ b/filters/macros.lua
@@ -23,7 +23,7 @@ function figure(el)
23 pandoc.walk_block(el, { Image = function(iel) images:insert(iel) end }) 23 pandoc.walk_block(el, { Image = function(iel) images:insert(iel) end })
24 24
25 el = pandoc.RawBlock("html", 25 el = pandoc.RawBlock("html",
26 "<figure class=\"c-figure\">\ 26 "<figure class=\"c-figure js-lightbox__image\">\
27 <a class=\"c-figure__link\" href=\"" .. images[1].src .. "\">\ 27 <a class=\"c-figure__link\" href=\"" .. images[1].src .. "\">\
28 <img class=\"c-figure__image\" src=\"" .. images[1].src .. "\" title=\"" .. images[1].title .. "\" />\ 28 <img class=\"c-figure__image\" src=\"" .. images[1].src .. "\" title=\"" .. images[1].title .. "\" />\
29 </a>\ 29 </a>\