@@ -57,7 +57,7 @@ TODO:
5757 A big advantage of gropdf: it supports the tag
5858 \X'pdf: pdfpic file alignment width height line-length'
5959 and also seems to support bookmarks.
60−[ ] avoid blank line after footnote marker when footnote has a
60+[x] avoid blank line after footnote marker when footnote has a
6161 paragraph
6262[ ] better smallcaps support, see below...
6363[ ] add via groff option to PDF module
@@ -448,7 +448,12 @@ handleNotes opts fallback = do
448448
449449handleNote :: PandocMonad m => WriterOptions -> Note -> MS m Doc
450450handleNote opts bs = do
451− contents <- blockListToMs opts bs
451+ -- don't start with Paragraph or we'll get a spurious blank
452+ -- line after the note ref:
453+ let bs' = case bs of
454+ (Para ils : rest) -> Plain ils : rest
455+ _ -> bs
456+ contents <- blockListToMs opts bs'
452457 return $ cr <> text ".FS" $$ contents $$ text ".FE" <> cr
453458
454459fontChange :: PandocMonad m => MS m Doc