quarto-ext / lightbox

Create lightbox treatments for images in your HTML documents.
https://quarto-ext.github.io/lightbox/
MIT License
76 stars 4 forks source link

Error running filter _extensions/quarto-ext/lightbox/lightbox.lua #10

Closed wiesehahn closed 2 years ago

wiesehahn commented 2 years ago

I tried to use the extension but getting the following error

Error running filter _extensions/quarto-ext/lightbox/lightbox.lua:
[string "---------------------------------------------..."]:1477: attempt to index a string value (local 'v')
stack traceback:
    [string "---------------------------------------------..."]:1588: in field 'addHtmlDependency'
    _extensions/quarto-ext/lightbox/lightbox.lua:123: in function <_extensions/quarto-ext/lightbox/lightbox.lua:118>

any ideas what might be the problem?

cderv commented 2 years ago

Can you share your Quarto version ?

I can't reproduce with latest available. Possibly something we have now fixed.

wiesehahn commented 2 years ago

Thanks, updating to a recent version fixed this