mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 11:16:33 +00:00
Muse reader: do not parse blocks inside comments (#3828)
This commit is contained in:
committed by
John MacFarlane
parent
ced834076d
commit
38b6adaac0
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user