asciidoc-0.1: test/asciidoctor/table/cell-with-paragraphs.test
|===
|Single paragraph on row 1
|First paragraph on row 2
Second paragraph on row 2
|===
>>>
Document
{ docMeta =
Meta
{ docTitle = []
, docTitleAttributes = Nothing
, docAuthors = []
, docRevision = Nothing
, docAttributes = fromList [ ( "sectids" , "" ) ]
}
, docBlocks =
[ Block
mempty
Nothing
(Table
[ ColumnSpec
{ colHorizAlign = Nothing
, colVertAlign = Nothing
, colWidth = Nothing
, colStyle = Nothing
}
]
(Just
[ TableRow
[ TableCell
{ cellContent =
[ Block
mempty
Nothing
(Paragraph [ Inline mempty (Str "Single paragraph on row 1") ])
]
, cellHorizAlign = Nothing
, cellVertAlign = Nothing
, cellColspan = 1
, cellRowspan = 1
}
]
])
[]
(Just
[ TableRow
[ TableCell
{ cellContent =
[ Block
mempty
Nothing
(Paragraph [ Inline mempty (Str "First paragraph on row 2") ])
, Block
mempty
Nothing
(Paragraph [ Inline mempty (Str "Second paragraph on row 2") ])
]
, cellHorizAlign = Nothing
, cellVertAlign = Nothing
, cellColspan = 1
, cellRowspan = 1
}
]
]))
]
}