commit 3b87298: [Minor] Fix html tags use

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jan 19 16:49:08 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-01-19 16:45:35 +0000
URL: https://github.com/rspamd/rspamd/commit/3b872989f7063e40022883a4aa84d94d75c74995 (HEAD -> master)

[Minor] Fix html tags use

---
 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 2870ca371..6294f373f 100644
--- a/lualib/rspamadm/mime.lua
+++ b/lualib/rspamadm/mime.lua
@@ -397,7 +397,7 @@ local function extract_handler(opts)
                 end
                 local content = tag:get_content()
                 if content then
-                  elt.content = content
+                  elt.content = tostring(content)
                 end
                 table.insert(res, elt)
               end)


More information about the Commits mailing list