Skip to content

Commit

Permalink
Merge pull request #9386 from quarto-dev/bugfix/9282
Browse files Browse the repository at this point in the history
lua - rename mediabag to mediabag_filter.
  • Loading branch information
cscheid authored Apr 16, 2024
2 parents 7edfb45 + 50cd9bb commit 83f7e57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/changelog-1.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ All changes included in 1.5:
- ([#8898](https://github.com/quarto-dev/quarto-cli/issues/8898)): `.deb` and `.tar.gz` bundle contents are now associated to root user and group instead of default user and group for CI build runners.
- ([#9041](https://github.com/quarto-dev/quarto-cli/issues/9041)): When creating an automatic citation key, replace spaces with underscores in inferred keys.
- ([#9059](https://github.com/quarto-dev/quarto-cli/issues/9059)): `quarto run` now properly works on Windows with Lua scripts.
- ([#9282](https://github.com/quarto-dev/quarto-cli/issues/9282)): Fix name clash in Lua local declarations for `mediabag` in bundled releases.
- Add support for `{{< lipsum >}}` shortcode, which is useful for emitting placeholder text. Provide a specific number of paragraphs (`{{< lipsum 3 >}}`).
- Resolve data URIs in Pandoc's mediabag when rendering documents.
- Increase v8's max heap size by default, to avoid out-of-memory errors when rendering large documents (also cf. https://github.com/denoland/deno/issues/18935).
Expand Down
2 changes: 1 addition & 1 deletion src/resources/filters/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ local quarto_finalize_filters = {
{ name = "finalize-combined", filter =
combineFilters({
file_metadata(),
mediabag(),
mediabag_filter(),
inject_vault_content_into_rawlatex(),
})},
{ name = "finalize-bookCleanup", filter = bookCleanup() },
Expand Down
2 changes: 1 addition & 1 deletion src/resources/filters/quarto-finalize/mediabag.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- quarto-finalize.lua
-- Copyright (C) 2022 Posit Software, PBC

function mediabag()
function mediabag_filter()
return {
-- mediabag entries need to be re-routed to the filesystem
-- if this isn't an office doc (as those formats automatically
Expand Down

0 comments on commit 83f7e57

Please sign in to comment.