Muse writer: remove unused binding

This commit is contained in:
Alexander Krotov
2018-03-25 23:42:07 +03:00
parent aa929e462d
commit 989a9ebec3
+6 -6
View File
@@ -380,12 +380,12 @@ renderInlineList :: PandocMonad m
-> StateT WriterState m Doc
renderInlineList True [] = pure "<verbatim></verbatim>"
renderInlineList False [] = pure ""
renderInlineList start lst@(x:xs) = do r <- inlineToMuse x
opts <- gets stOptions
lst' <- renderInlineList (x == SoftBreak && writerWrapText opts == WrapPreserve) xs --hcat <$> mapM inlineToMuse xs
if start && fixOrEscape x
then pure ((text "<verbatim></verbatim>") <> r <> lst')
else pure (r <> lst')
renderInlineList start (x:xs) = do r <- inlineToMuse x
opts <- gets stOptions
lst' <- renderInlineList (x == SoftBreak && writerWrapText opts == WrapPreserve) xs --hcat <$> mapM inlineToMuse xs
if start && fixOrEscape x
then pure ((text "<verbatim></verbatim>") <> r <> lst')
else pure (r <> lst')
-- | Normalize and convert list of Pandoc inline elements to Muse.
inlineListToMuse'' :: PandocMonad m