aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Helpers.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-26 22:28:28 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-26 22:28:28 +0100
commit5222572033e12948de2786122532f3c589145fe1 (patch)
treeeacda0eeba588d36d4011f23fb6732f2c5ad2709 /tests/Tests/Helpers.hs
parent7b4a12a532d02d9ea0069d73f118537f045bd42f (diff)
downloadpandoc-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/Helpers.hs')
0 files changed, 0 insertions, 0 deletions