@@ -628,15 +628,15 @@ blockToMarkdown' opts t@(Table caption aligns widths headers rows) = do
628628 writerColumns opts >= 8 * numcols -> (id,) <$>
629629 gridTable opts blockListToMarkdown
630630 (all null headers) aligns' widths' headers rows
631− | isEnabled Ext_raw_html opts -> fmap (id,) $
632− (text . T.unpack) <$>
633− (writeHtml5String opts{ writerTemplate = Nothing } $ Pandoc nullMeta [t])
634631 | hasSimpleCells &&
635632 isEnabled Ext_pipe_tables opts -> do
636633 rawHeaders <- padRow <$> mapM (blockListToMarkdown opts) headers
637634 rawRows <- mapM (fmap padRow . mapM (blockListToMarkdown opts))
638635 rows
639636 (id,) <$> pipeTable (all null headers) aligns' rawHeaders rawRows
637+ | isEnabled Ext_raw_html opts -> fmap (id,) $
638+ (text . T.unpack) <$>
639+ (writeHtml5String opts{ writerTemplate = Nothing } $ Pandoc nullMeta [t])
640640 | otherwise -> return $ (id, text "[TABLE]")
641641 return $ nst (tbl $$ caption'') $$ blankline
642642blockToMarkdown' opts (BulletList items) = do