git.iko.soy/typeable/pandoc
on master help sign in
HTML reader: td should close an open th or td.
commit38b5f24a668418a27fcea11a56f8961b41515299 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 24 Oct 2017, 14:42 (9 years ago) parentad2df06
1 file changed+1
src/Text/Pandoc/Readers/HTML.hs+1
src/Text/Pandoc/Readers/HTML.hs+1
@@ -1037,6 +1037,7 @@ _ `closes` "html" = False
10371037"a" `closes` "a" = True
10381038"li" `closes` "li" = True
10391039"th" `closes` t | t `elem` ["th","td"] = True
1040+"td" `closes` t | t `elem` ["th","td"] = True
10401041"tr" `closes` t | t `elem` ["th","td","tr"] = True
10411042"dd" `closes` t | t `elem` ["dt", "dd"] = True
10421043"dt" `closes` t | t `elem` ["dt","dd"] = True