aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-05 14:15:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-05 16:06:22 +0100
commitd7acbc3402f81c0e97e6b1ba67fc3c031b660f0d (patch)
tree1e92e88c094bcdb744fbad2549631cea525fcb1e /src/lua/lua_html.c
parent37b9edfcf587e3d7986f08d83c623ab7950a31f6 (diff)
downloadrspamd-d7acbc3402f81c0e97e6b1ba67fc3c031b660f0d.tar.gz
rspamd-d7acbc3402f81c0e97e6b1ba67fc3c031b660f0d.zip
[Fix] Fix parsing of background color
Diffstat (limited to 'src/lua/lua_html.c')
-rw-r--r--src/lua/lua_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_html.c b/src/lua/lua_html.c
index 5e9b8df2b..fe5a409d7 100644
--- a/src/lua/lua_html.c
+++ b/src/lua/lua_html.c
@@ -346,7 +346,7 @@ lua_html_get_blocks (lua_State *L)
lua_settable (L, -3);
}
if (bl->background_color.valid) {
- lua_pushstring (L, "color");
+ lua_pushstring (L, "bgcolor");
lua_newtable (L);
lua_pushnumber (L, bl->background_color.d.comp.r);
lua_rawseti (L, -2, 1);