diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-11-26 22:28:28 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-26 22:28:28 +0100 |
commit | 5222572033e12948de2786122532f3c589145fe1 (patch) | |
tree | eacda0eeba588d36d4011f23fb6732f2c5ad2709 /tests/Tests/Old.hs | |
parent | 7b4a12a532d02d9ea0069d73f118537f045bd42f (diff) | |
download | pandoc-5222572033e12948de2786122532f3c589145fe1.tar.gz |
HTML reader: improved table parsing.
We now check explicitly for non-1 rowspan or colspan
attributes, and fail when we encounter them. Previously
we checked that each row had the same number of cells,
but that could be true even with rowspans/colspans.
And there are cases where it isn't true in tables that
we can handle fine -- e.g. when a tr element is empty.
So now we just pad rows with empty cells when needed.
Closes #3027.
Diffstat (limited to 'tests/Tests/Old.hs')
0 files changed, 0 insertions, 0 deletions