]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix html tags use
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Jan 2021 16:45:35 +0000 (16:45 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Jan 2021 16:46:00 +0000 (16:46 +0000)
lualib/rspamadm/mime.lua

index 2870ca37113e90ace42c5b5050a6c11718d72d20..6294f373fdae26be10345f61fb8bb928c59d961d 100644 (file)
@@ -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)