aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-10-26 19:52:12 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-10-26 19:52:12 -0700
commitf870777c36b8933efbc21942d99ace0de6c6563b (patch)
tree7d70cd0c6f3d2f50875d52d2d11297952a4447c1 /src/Text/Pandoc/Readers
parent6b722d1b45b59e8fa57b2fce4b74f2cb933f7b7e (diff)
downloadpandoc-f870777c36b8933efbc21942d99ace0de6c6563b.tar.gz
Parse blanklines after macro definitions.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 0f10d2b65..8c6a90edb 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -876,7 +876,7 @@ table = multilineTable False <|> simpleTable True <|>
-- | Parse a \newcommand or \renewcommand macro definition.
macro :: GenParser Char ParserState Block
macro = getState >>= guard . stateApplyMacros >>
- pMacroDefinition >>= addMacro >> return Null
+ pMacroDefinition >>= addMacro >> blanklines >> return Null
-- | Add a macro to the list of macros in state.
addMacro :: Macro -> GenParser Char ParserState ()