From 137c7c2a657492c4652d1ebcaceea44ff69f262b Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Fri, 24 Nov 2017 13:16:09 +0300 Subject: Muse reader: allow definition to end with EOF --- src/Text/Pandoc/Readers/Muse.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs index a3cb40e58..6599ba059 100644 --- a/src/Text/Pandoc/Readers/Muse.hs +++ b/src/Text/Pandoc/Readers/Muse.hs @@ -445,7 +445,7 @@ definitionListItem = try $ do term <- termParser many1 spaceChar string "::" - firstLine <- anyLineNewline + firstLine <- many $ noneOf "\n" restLines <- manyTill anyLineNewline endOfListItemElement let lns = firstLine : restLines lineContent <- parseFromString (withListContext parseBlocks) $ concat lns ++ "\n" -- cgit v1.2.3