* `color` - a triplet (r g b) for font color
* `bgcolor` - a triplet (r g b) for background color
* `style` - rspamd{text} with the full style description
+ * `font_size` - font size
* @return {table} table of blocks in html part
*/
LUA_FUNCTION_DEF (html, get_blocks);
struct rspamd_lua_text *t;
struct html_tag **ptag;
- lua_createtable (L, 0, 5);
+ lua_createtable (L, 0, 6);
if (bl->tag) {
lua_pushstring (L, "tag");
lua_pushstring (L, "visible");
lua_pushboolean (L, bl->visible);
lua_settable (L, -3);
+
+ lua_pushstring (L, "font_size");
+ lua_pushnumber (L, bl->font_size);
+ lua_settable (L, -3);
}
static gint