@@ -148,6 +148,13 @@ tests = [ testGroup "tokenization"
148148 , simpleCell (plain "Two")
149149 ]
150150 ]
151+ , "table with multicolumn item (#6596)" =:
152+ "\\begin{tabular}{l c r}One & \\multicolumn{2}{c}{Two} & \\\\ \\end{tabular}" =?>
153+ table' [AlignLeft, AlignCenter, AlignRight]
154+ [ Row nullAttr [ simpleCell (plain "One")
155+ , cell AlignCenter (RowSpan 1) (ColSpan 2) (plain "Two")
156+ ]
157+ ]
151158 , "Table with multirow item" =:
152159 T.unlines ["\\begin{tabular}{c}"
153160 ,"\\multirow{2}{c}{One}\\\\Two\\\\"