diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-02-25 08:33:42 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-02-25 08:33:42 -0800 |
commit | 47bfdca04940acde5bbd4f14f32d6fea8902ad90 (patch) | |
tree | 369cc864fb78ecde6baa7a06eb03fc8265589297 /src/Text/Pandoc | |
parent | ae3142f919a29900c8d53e486e02d40125b5a542 (diff) | |
download | pandoc-47bfdca04940acde5bbd4f14f32d6fea8902ad90.tar.gz |
Markdown reader: check for tex macros after indented code.
Closes #1973.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 187b479c3..910936b34 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -448,18 +448,18 @@ block = do res <- choice [ mempty <$ blanklines , codeBlockFenced , yamlMetaBlock - , guardEnabled Ext_latex_macros *> (macro >>= return . return) -- note: bulletList needs to be before header because of -- the possibility of empty list items: - , bulletList , header , lhsCodeBlock - , rawTeXBlock , divHtml , htmlBlock , table - , lineBlock , codeBlockIndented + , guardEnabled Ext_latex_macros *> (macro >>= return . return) + , rawTeXBlock + , lineBlock , blockQuote , hrule , orderedList |