Muse reader: make sure that the whole text is parsed
This commit is contained in:
parent
8df59952bf
commit
78bec0837d
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ parseMuse :: PandocMonad m => MuseParser m Pandoc
|
|||
parseMuse = do
|
||||
many directive
|
||||
blocks <- (:) <$> parseBlocks <*> many parseSection
|
||||
eof
|
||||
st <- getState
|
||||
runF (Pandoc <$> museMeta st <*> fmap B.toList (mconcat blocks)) st <$ reportLogMessages
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue