@@ -1419,7 +1419,7 @@ tableWith headerParser rowParser lineParser footerParser = try $ do
14191419 lines' <- fmap sequence $ rowParser indices `sepEndBy1` lineParser
14201420 footerParser
14211421 numColumns <- getOption readerColumns
1422− let widths = if indices == []
1422+ let widths = if null indices
14231423 then replicate (length aligns) 0.0
14241424 else widthsFromIndices numColumns indices
14251425 return (aligns, widths, heads, lines')
@@ -2006,7 +2006,7 @@ cite = do
20062006 guardEnabled Ext_citations
20072007 textualCite
20082008 <|> do (cs, raw) <- withRaw normalCite
2009− return $ (flip B.cite (B.text raw)) <$> cs
2009+ return $ flip B.cite (B.text raw) <$> cs
20102010
20112011textualCite :: PandocMonad m => MarkdownParser m (F Inlines)
20122012textualCite = try $ do
@@ -2093,15 +2093,15 @@ citation = try $ do
20932093 return $ do
20942094 x <- pref
20952095 y <- suff
2096− return $ Citation{ citationId = key
2097− , citationPrefix = B.toList x
2098− , citationSuffix = B.toList y
2099− , citationMode = if suppress_author
2100− then SuppressAuthor
2101− else NormalCitation
2102− , citationNoteNum = 0
2103− , citationHash = 0
2104− }
2096+ return Citation{ citationId = key
2097+ , citationPrefix = B.toList x
2098+ , citationSuffix = B.toList y
2099+ , citationMode = if suppress_author
2100+ then SuppressAuthor
2101+ else NormalCitation
2102+ , citationNoteNum = 0
2103+ , citationHash = 0
2104+ }
21052105
21062106smart :: PandocMonad m => MarkdownParser m (F Inlines)
21072107smart = do