@@ -417,12 +417,12 @@ local quarto_finalize_filters = {
417417local quarto_layout_filters = {
418418 { name = " manuscript filtering" , filter = manuscript () },
419419 { name = " manuscript filtering" , filter = manuscriptUnroll () },
420- { name = " layout-lightbox" , filters = lightbox (), flags = { " has_lightbox" }},
420+ { name = " layout-lightbox" , filters = lightbox (), force_pandoc_walk = true , flags = { " has_lightbox" }},
421421 { name = " layout-columns-preprocess" , filter = columns_preprocess () },
422422 { name = " layout-columns" , filter = columns () },
423423 { name = " layout-cites-preprocess" , filter = cites_preprocess () },
424424 { name = " layout-cites" , filter = cites () },
425- { name = " layout-panels" , filter = layout_panels () },
425+ { name = " layout-panels" , filter = layout_panels (), force_pandoc_walk = true },
426426 { name = " post-fold-code-and-lift-codeblocks-from-floats" , filter = fold_code_and_lift_codeblocks () },
427427}
428428
@@ -435,7 +435,8 @@ local quarto_crossref_filters = {
435435 filter = crossref_preprocess_theorems (),
436436 flags = { " has_theorem_refs" } },
437437
438- { name = " crossref-combineFilters" , filter = combineFilters ({
438+ { name = " crossref-combineFilters" , force_pandoc_walk = true ,
439+ filter = combineFilters ({
439440 file_metadata (),
440441 qmd (),
441442 sections (),
0 commit comments