From 7633d519718240e67ae9c7b872be3e09fd55077b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 27 Sep 2012 16:44:49 -0700 Subject: Parsing: Changed type of stateSubstitutions to use Inlines. --- src/Text/Pandoc/Parsing.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Text/Pandoc/Parsing.hs b/src/Text/Pandoc/Parsing.hs index 731375e38..7abec90a1 100644 --- a/src/Text/Pandoc/Parsing.hs +++ b/src/Text/Pandoc/Parsing.hs @@ -145,7 +145,7 @@ where import Text.Pandoc.Definition import Text.Pandoc.Options -import Text.Pandoc.Builder (Blocks) +import Text.Pandoc.Builder (Blocks, Inlines) import qualified Text.Pandoc.UTF8 as UTF8 (putStrLn) import Text.Parsec import Text.Parsec.Pos (newPos) @@ -792,7 +792,7 @@ toKey = Key . map toLower . unwords . words type KeyTable = M.Map Key Target -type SubstTable = M.Map Key Inline +type SubstTable = M.Map Key Inlines -- | Fail unless we're in "smart typography" mode. failUnlessSmart :: Parser [tok] ParserState () -- cgit v1.2.3