From 38b6adaac09d63501d2febb034dcd776b6de1654 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Thu, 3 Aug 2017 19:11:00 +0300 Subject: Muse reader: do not parse blocks inside comments (#3828) --- 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 9d967a9de..537596216 100644 --- a/src/Text/Pandoc/Readers/Muse.hs +++ b/src/Text/Pandoc/Readers/Muse.hs @@ -247,7 +247,7 @@ quoteTag :: PandocMonad m => MuseParser m (F Blocks) quoteTag = blockTag B.blockQuote "quote" commentTag :: PandocMonad m => MuseParser m (F Blocks) -commentTag = parseHtmlContent "comment" block >> return mempty +commentTag = parseHtmlContent "comment" anyChar >> return mempty -- Indented block is either center, right or quote indentedLine :: PandocMonad m => MuseParser m (Int, String) -- cgit v1.2.3