aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-24 13:39:27 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-24 13:39:27 -0800
commit10d85f8b0b31f117f79e53d2c50cf20d0fd0fab1 (patch)
tree1758191055a5c0abe2f4271543d99a9984d5e20a /src/Text/Pandoc/Readers
parentb950503fd82e9cc114e10860c234eb4b10d1ce27 (diff)
downloadpandoc-10d85f8b0b31f117f79e53d2c50cf20d0fd0fab1.tar.gz
Use functions from Text.Pandoc.Generic instead of processWith(M).
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index be1fdc5d0..c262a9a90 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -35,6 +35,7 @@ import Data.Ord ( comparing )
import Data.Char ( isAlphaNum )
import Data.Maybe
import Text.Pandoc.Definition
+import Text.Pandoc.Generic
import Text.Pandoc.Shared
import Text.Pandoc.Parsing
import Text.Pandoc.Readers.LaTeX ( rawLaTeXInline, rawLaTeXEnvironment' )
@@ -189,7 +190,7 @@ parseMarkdown = do
handleExampleRef z = z
if M.null examples
then return doc
- else return $ processWith handleExampleRef doc
+ else return $ bottomUp handleExampleRef doc
--
-- initial pass for references and notes