aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-07-22 09:14:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-07-22 09:14:38 -0700
commit5089bc8fe29949500443205bb0f91177d0af59dc (patch)
tree6ef170c966b22dc9578194c701a45de8c241718b /src/Text/Pandoc/Readers
parent5debb492ef64767677d893e2cf77a100d57796e0 (diff)
parent83028c598262ec1d189b0337424ea47720f14308 (diff)
downloadpandoc-5089bc8fe29949500443205bb0f91177d0af59dc.tar.gz
Merge pull request #1444 from mpickering/master
Generalised readWith to readWithM
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 339f8e3c9..9f51e9a8f 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -41,7 +41,6 @@ import Text.Pandoc.Shared
import Text.Pandoc.Options
import Text.Pandoc.Parsing hiding ((<|>), many, optional, space,
mathDisplay, mathInline)
-import Text.Parsec.Prim (ParsecT, runParserT)
import qualified Text.Pandoc.UTF8 as UTF8
import Data.Char ( chr, ord )
import Control.Monad.Trans (lift)
@@ -808,7 +807,7 @@ rawEnv name = do
----
-type IncludeParser = ParsecT [Char] [String] IO String
+type IncludeParser = ParserT [Char] [String] IO String
-- | Replace "include" commands with file contents.
handleIncludes :: String -> IO String