Muse reader: do not parse blocks inside comments (#3828)
commit38b6adaac09d63501d2febb034dcd776b6de1654
authorAlexander Krotov <ilabdsf@gmail.com>
dateThu 3 Aug 2017, 19:11 (9 years ago)
parentced8340
src/Text/Pandoc/Readers/Muse.hs+1−1
@@ -247,7 +247,7 @@ quoteTag :: PandocMonad m => MuseParser m (F Blocks)
247247quoteTag = blockTag B.blockQuote "quote"
248248
249249commentTag :: PandocMonad m => MuseParser m (F Blocks)
250−commentTag = parseHtmlContent "comment" block >> return mempty
250+commentTag = parseHtmlContent "comment" anyChar >> return mempty
251251
252252-- Indented block is either center, right or quote
253253indentedLine :: PandocMonad m => MuseParser m (Int, String)