aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_html.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_html.cxx')
-rw-r--r--src/lua/lua_html.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lua/lua_html.cxx b/src/lua/lua_html.cxx
index d20de03c0..848bfbdf3 100644
--- a/src/lua/lua_html.cxx
+++ b/src/lua/lua_html.cxx
@@ -590,6 +590,9 @@ lua_html_tag_get_content (lua_State *L)
t->len = ct.size();
t->flags = 0;
}
+ else {
+ lua_pushnil (L);
+ }
}
else {
lua_pushnil (L);