Skip to content

Commit 07c2945

Browse files
committed
shortcode kwargs return Inlines() for everything. be more robust
1 parent 5aa5dd8 commit 07c2945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/filters/common/debug.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function tdump (tbl, indent, refs)
1111
return
1212
end
1313

14-
if tbl.t then
14+
if tbl.t and type(t) == "string" then
1515
print(string.rep(" ", indent) .. tbl.t)
1616
end
1717
local empty = true

0 commit comments

Comments
 (0)