Check for nil return from scripts to avoid empty <script> elements

This commit is contained in:
dmiller 2012-08-14 17:25:43 +00:00
parent 0c3e0fcc4d
commit c5d642a340

View file

@ -294,6 +294,8 @@ do
tab, str = r1, r2;
elseif type(r1) == "string" then
tab, str = nil, r1;
elseif r1 == nil then
return
else
tab, str = r1, nil;
end