@@ -148,6 +148,13 @@ tests = [ testGroup "tokenization"
148 , simpleCell (plain "Two")
148 , simpleCell (plain "Two")
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")
151 , "Table with multirow item" =:
158 , "Table with multirow item" =:
152 T.unlines ["\\begin{tabular}{c}"
159 T.unlines ["\\begin{tabular}{c}"
153 ,"\\multirow{2}{c}{One}\\\\Two\\\\"
160 ,"\\multirow{2}{c}{One}\\\\Two\\\\"