pandoc-7

Empty table cells were filtered out when reading LaTeX tables without handling multirows and multicols properly. By adding code for recognising multicols and rows correctly, empty cells can now be filtered without shifting other cells out of place.

ghc-version: 8.10.7

hasbugs-version: 1.0.0

license: GPLv2

build-framework: stack

Repository
GitHub Artifacts :

Faults @3766e03c

[
  {
    "endline": 2386,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "parseTableRow",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 2386
  },
  {
    "endline": 2392,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "parseTableCell",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 2392
  },
  {
    "endline": 2439,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "parseMultiCell",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 2414
  }
]

Fixes @482a2e50

[
  {
    "endline": 2388,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "parseTableRow",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 2386
  },
  {
    "endline": 2398,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "parseTableCell",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 2394
  },
  {
    "endline": 2405,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "parseTableCell",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 2402
  },
  {
    "endline": 2459,
    "file": "src/Text/Pandoc/Readers/LaTeX.hs",
    "function": "multicolumnCell",
    "module": "Text.Pandoc.Readers.LaTeX",
    "startline": 2424
  }
]