aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/HTML.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-11-23 17:57:13 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2020-11-24 14:17:35 +0100
commit446ef27a3fb69d6ddf2e841dbdb9dc9c6f288928 (patch)
treec581987edacd4b27686a678919501489eda25f8c /src/Text/Pandoc/Readers/HTML.hs
parent41237fcc0ed890795f065c0a7f204fa5597defee (diff)
downloadpandoc-446ef27a3fb69d6ddf2e841dbdb9dc9c6f288928.tar.gz
HTML reader: support blocks in caption
Diffstat (limited to 'src/Text/Pandoc/Readers/HTML.hs')
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs
index e9fefb9c0..177a39be0 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -474,7 +474,7 @@ pHrule = do
return B.horizontalRule
pTable :: PandocMonad m => TagParser m Blocks
-pTable = pTable' inline pCell
+pTable = pTable' block pCell
noColOrRowSpans :: Tag Text -> Bool
noColOrRowSpans t = isNullOrOne "colspan" && isNullOrOne "rowspan"