summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Templates.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-04-24 19:34:53 -0400
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-04-24 19:34:53 -0400
commitf67a80cea27286ba17b3696198602a6bbdae014d (patch)
tree132b39479dd070ca8637fabcaf8b153dde28292d /src/Text/Pandoc/Templates.hs
parenta0fa8f92f1eb1e2678f1d1e1bd9f86d6a1bfa9d5 (diff)
Removed blaze_html_05 flag -- require blaze >= 0.5 by default.
Diffstat (limited to 'src/Text/Pandoc/Templates.hs')
-rw-r--r--src/Text/Pandoc/Templates.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs
index dfdcd8e63..6e3369797 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, CPP #-}
+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
{-
Copyright (C) 2009-2010 John MacFarlane <jgm@berkeley.edu>
@@ -72,12 +72,8 @@ import Text.ParserCombinators.Parsec
import Control.Monad (liftM, when, forM)
import System.FilePath
import Data.List (intercalate, intersperse)
-#if MIN_VERSION_blaze_html(0,5,0)
import Text.Blaze.Html (Html)
import Text.Blaze.Internal (preEscapedString)
-#else
-import Text.Blaze (preEscapedString, Html)
-#endif
import Data.ByteString.Lazy.UTF8 (ByteString, fromString)
import Text.Pandoc.Shared (readDataFile)
import qualified Control.Exception.Extensible as E (try, IOException)