summaryrefslogtreecommitdiffstats
path: root/lualib/lua_content
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_content')
-rw-r--r--lualib/lua_content/pdf.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua
index 53b980f1a..141a07a5f 100644
--- a/lualib/lua_content/pdf.lua
+++ b/lualib/lua_content/pdf.lua
@@ -1271,6 +1271,9 @@ local function process_pdf(input, mpart, task)
if pdf_object.encrypted then
pdf_output.encrypted = true
end
+ if pdf_object.scripts then
+ pdf_output.scripts = true
+ end
return pdf_output
end