commit 71e2694: [Minor] Set all tags visible (for now)

Vsevolod Stakhov vsevolod at highsecure.ru
Sat Jun 12 13:49:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-06-12 14:41:59 +0100
URL: https://github.com/rspamd/rspamd/commit/71e269451a663e52fda2b14bd17529a217e040f8 (HEAD -> master)

[Minor] Set all tags visible (for now)

---
 src/lua/lua_html.cxx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lua/lua_html.cxx b/src/lua/lua_html.cxx
index 7e17f835f..3b9b7a7de 100644
--- a/src/lua/lua_html.cxx
+++ b/src/lua/lua_html.cxx
@@ -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


More information about the Commits mailing list