diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/RST.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs index 4fb00e2b4..f025e6c81 100644 --- a/src/Text/Pandoc/Writers/RST.hs +++ b/src/Text/Pandoc/Writers/RST.hs @@ -149,9 +149,8 @@ blockToRST (Plain inlines) = inlineListToRST inlines blockToRST (Para [Image txt (src,tit)]) = do capt <- inlineListToRST txt let fig = "figure:: " <> text src - let align = ":align: center" let alt = ":alt: " <> if null tit then capt else text tit - return $ hang 3 ".. " $ fig $$ align $$ alt $+$ capt $$ blankline + return $ hang 3 ".. " $ fig $$ alt $+$ capt $$ blankline blockToRST (Para inlines) = do contents <- inlineListToRST inlines return $ contents <> blankline |