aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-04-24 14:40:08 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-04-24 14:40:08 -0700
commita0fa8f92f1eb1e2678f1d1e1bd9f86d6a1bfa9d5 (patch)
treeb8a5a5940e2399e5dce070cee51cf0ee984786b1 /src/Text/Pandoc/Writers
parent869ff4344202e29ae852067c8caebb8bc2abb3ae (diff)
parent471d4dc5022599edfaf234682c6e8dfe0b87f7c0 (diff)
downloadpandoc-a0fa8f92f1eb1e2678f1d1e1bd9f86d6a1bfa9d5.tar.gz
Merge pull request #496 from markwright/master
changes for blaze-html 0.5
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index f9bbe8796..59666da08 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE OverloadedStrings, CPP #-}
{-# OPTIONS_GHC -fno-warn-deprecations #-}
{-
Copyright (C) 2006-2010 John MacFarlane <jgm@berkeley.edu>
@@ -46,7 +46,12 @@ import Data.List ( isPrefixOf, intersperse )
import Data.String ( fromString )
import Data.Maybe ( catMaybes )
import Control.Monad.State
+#if MIN_VERSION_blaze_html(0,5,0)
+import Text.Blaze.Html hiding(contents)
+import Text.Blaze.Internal(preEscapedString)
+#else
import Text.Blaze
+#endif
import qualified Text.Blaze.Html5 as H5
import qualified Text.Blaze.XHtml1.Transitional as H
import qualified Text.Blaze.XHtml1.Transitional.Attributes as A