Skip to content

Commit 1fdd274

Browse files
committed
declare label
1 parent 94612d2 commit 1fdd274

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/resources/filters/crossref/tables.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ function preprocessTable(el, parentId)
104104
local last = el.caption.long[#el.caption.long]
105105
if last and #last.content > 0 then
106106
-- check for tbl label
107+
local label = nil
107108
local caption, attr = parseTableCaption(last.content)
108109
if startsWith(attr.identifier, "tbl-") then
109110
-- set the label and remove it from the caption

0 commit comments

Comments
 (0)