From 0341427d1c80155636c3eb7426318264e7d3590d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 29 Jul 2021 17:34:47 +0100 Subject: [PATCH] [Minor] Print all parts when printing html structure --- lualib/rspamadm/mime.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/rspamadm/mime.lua b/lualib/rspamadm/mime.lua index 764d4f325..a92c8c01c 100644 --- a/lualib/rspamadm/mime.lua +++ b/lualib/rspamadm/mime.lua @@ -406,7 +406,7 @@ local function extract_handler(opts) end table.insert(res, elt) end) - out_elts[fname] = res + table.insert(out_elts[fname], res) else table.insert(out_elts[fname], tostring(part:get_content(how))) end -- 2.39.5