diff options
Diffstat (limited to 'rst_helpers.lua')
-rw-r--r-- | rst_helpers.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rst_helpers.lua b/rst_helpers.lua index fb0dd84..4ec28fe 100644 --- a/rst_helpers.lua +++ b/rst_helpers.lua @@ -336,6 +336,7 @@ function helpers.table.create(raw) this_row.seppart = p.sep_part:match(row) if this_row.sephead then self.has_head = true + self.head_end = nr end local splitted = { p.cells:match(row, 1, selflayout) } @@ -541,7 +542,7 @@ function helpers.table.simple(raw) newrow.separator = true if nr > 1 and #raw > nr then -- Ends the header. rows.has_head = true - newrow.end_head = true + newrow.head_end = nr end elseif multispans[nr] then local spans = multispans[nr] |