Skip to content

Commit

Permalink
Handle column-list cells crossing input lines
Browse files Browse the repository at this point in the history
  • Loading branch information
silby committed Nov 3, 2024
1 parent 5934c8b commit 367f115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Text/Pandoc/Readers/Mdoc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1037,12 +1037,12 @@ parseColumnList :: PandocMonad m => MdocParser m Blocks
parseColumnList = do
literal "-column"
many skipListArgument
_ <- litsToText -- XXX use the column widths?
_ <- litsToText
eol
rows <- many listRow
return $ B.simpleTable [] rows
where
listRow = macro "It" >> fmap B.plain <$> sepBy parseInline (macro "Ta")
listRow = macro "It" >> fmap B.plain <$> sepBy parseInlines (macro "Ta")

parseBl :: PandocMonad m => MdocParser m Blocks
parseBl = do
Expand Down

0 comments on commit 367f115

Please sign in to comment.