aboutsummaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/test/lua/module/sample.epub
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2025-05-13 23:21:28 +0200
committerAlbert Krewinkel <[email protected]>2025-05-13 23:38:36 +0200
commit31f74fac065023e1accc686753dc6216edd4c9c4 (patch)
tree779f1800bed4d8869190143e6b0d0aea7ffe595d /pandoc-lua-engine/test/lua/module/sample.epub
parent21966099896ecc612786f4ba4bb6f08fcfff5253 (diff)
Lua: support sandboxed parsing with `pandoc.read`.
The function `pandoc.read` is now taking an optional fourth parameter that specifies the environment in which the parser will be run. Passing the string `sandbox` as the argument causes the reader to run in a sandbox, thereby preventing all access to the network and file system. Closes: #10831
Diffstat (limited to 'pandoc-lua-engine/test/lua/module/sample.epub')
-rw-r--r--pandoc-lua-engine/test/lua/module/sample.epubbin0 -> 5522 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/pandoc-lua-engine/test/lua/module/sample.epub b/pandoc-lua-engine/test/lua/module/sample.epub
new file mode 100644
index 000000000..fca4a1861
--- /dev/null
+++ b/pandoc-lua-engine/test/lua/module/sample.epub
Binary files differ