Skip to content

Commit

Permalink
Muse writer: TODO on escaping list markers
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Krotov committed Mar 8, 2017
1 parent 6175bed commit b9d82f5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Text/Pandoc/Writers/Muse.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,12 @@ blockListToMuse blocks = do
blockToMuse :: PandocMonad m
=> Block -- ^ Block element
-> StateT WriterState m Doc
blockToMuse (Plain inlines) = inlineListToMuse inlines
blockToMuse (Para inlines) = do
blockToMuse (Plain inlines) = do
contents <- inlineListToMuse inlines
-- TODO: escape list markers
return contents
blockToMuse (Para inlines) = do
contents <- blockToMuse (Plain inlines)
return $ contents <> blankline
blockToMuse (LineBlock lns) = do
let splitStanza [] = []
Expand Down

0 comments on commit b9d82f5

Please sign in to comment.