]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Set all tags visible (for now)
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 12 Jun 2021 13:41:59 +0000 (14:41 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 12 Jun 2021 13:41:59 +0000 (14:41 +0100)
src/lua/lua_html.cxx

index 7e17f835f6ef96edef849cd69f26dd703366d7e4..3b9b7a7defba19a7be5925cfe8bb23940be0d2a7 100644 (file)
@@ -380,6 +380,11 @@ lua_html_push_block (lua_State *L, const struct rspamd::html::html_block *bl)
                lua_pushinteger(L, bl->font_size);
                lua_settable(L, -3);
        }
+
+       /* TODO: fix */
+       lua_pushstring(L, "visible");
+       lua_pushboolean(L, true);
+       lua_settable(L, -3);
 }
 
 static gint