aboutsummaryrefslogtreecommitdiff
path: root/test/command/6137.md
AgeCommit message (Collapse)AuthorFilesLines
2020-06-23LaTeX reader: Retain the Div around tables with attributes.John MacFarlane1-25/+26
We'll need this to store table attributes until all writers are adjusted to react to attributes on the Table element.
2020-04-17LaTeX reader: don't put surrounding Div around Table.John MacFarlane1-26/+25
This reverts a change in the last release; the Div is no longer needed, because we can now put the id right in the Table's attributes. However, writers may still need to be modified to do something with the id in a Table (e.g. create an anchor), so in the short term we may lose the ability to link to tables in some writers.
2020-04-15Use the new builders, modify readers to preserve empty headersdespresc1-7/+1
The Builder.simpleTable now only adds a row to the TableHead when the given header row is not null. This uncovered an inconsistency in the readers: some would unconditionally emit a header filled with empty cells, even if the header was not present. Now every reader has the conditional behaviour. Only the XWiki writer depended on the header row being always present; it now pads its head as necessary.
2020-04-15Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessorsdespresc1-10/+10
2020-04-15Adapt to the newest Table type, fix some previous adaptation issuesdespresc1-20/+27
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared.
2020-04-15Implement the new Table typedespresc1-10/+24
2020-02-12LaTeX reader: improve caption and label parsing.John MacFarlane1-11/+12
- Don't emit empty Span elements for labels. - Put tables with labels in a surrounding Div.
2020-02-11LaTeX reader: resolve `\ref` to table numbers.John MacFarlane1-0/+31
Closes #6137.