diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-24 14:42:33 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-24 14:42:33 -0700 |
commit | 38b5f24a668418a27fcea11a56f8961b41515299 (patch) | |
tree | d4b231fd1feb87f97c9304fa622fd9f1af1d748c /src/Text/Pandoc | |
parent | ad2df0655eadcd0119a4f0ee2fea3666bb8495de (diff) | |
download | pandoc-38b5f24a668418a27fcea11a56f8961b41515299.tar.gz |
HTML reader: td should close an open th or td.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/HTML.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index a545f3f3d..6b3f06f4b 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -1037,6 +1037,7 @@ _ `closes` "html" = False "a" `closes` "a" = True "li" `closes` "li" = True "th" `closes` t | t `elem` ["th","td"] = True +"td" `closes` t | t `elem` ["th","td"] = True "tr" `closes` t | t `elem` ["th","td","tr"] = True "dd" `closes` t | t `elem` ["dt", "dd"] = True "dt" `closes` t | t `elem` ["dt","dd"] = True |