Skip to content

Commit 4e12dd1

Browse files
committed
Fix docx tableEqns
1 parent 827f4fb commit 4e12dd1

File tree

1 file changed

+1
-1
lines changed
  • lib-internal/Text/Pandoc/CrossRef/References

1 file changed

+1
-1
lines changed

lib-internal/Text/Pandoc/CrossRef/References/Blocks.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ simpleTable align width bod = Table nullAttr noCaption (zip align width)
6464
where
6565
mkBody xs = TableBody nullAttr (RowHeadColumns 0) [] (map mkRow xs)
6666
mkRow xs = Row nullAttr (map mkCell xs)
67-
mkCell xs = Cell nullAttr AlignDefault (RowSpan 0) (ColSpan 0) xs
67+
mkCell xs = Cell nullAttr AlignDefault (RowSpan 1) (ColSpan 1) xs
6868
noCaption = Caption Nothing mempty
6969
noTableHead = TableHead nullAttr []
7070
noTableFoot = TableFoot nullAttr []

0 commit comments

Comments
 (0)