git.iko.soy/typeable/pandoc
on master help sign in
Use CPP to avoid unneeded import warning for blaze-markup >= 0.6.3.

See https://github.com/jgm/pandoc/pull/1888#issuecomment-70470409

commit8a7db5cc9d382f1afab3a4e9ed0ac5a9d3f7c5a7 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 19 Jan 2015, 10:29 (12 years ago) parent030d3b5
1 file changed+3
src/Text/Pandoc/Writers/HTML.hs+3
src/Text/Pandoc/Writers/HTML.hs+3
@@ -49,7 +49,10 @@ import Data.String ( fromString )
4949import Data.Maybe ( catMaybes, fromMaybe )
5050import Control.Monad.State
5151import Text.Blaze.Html hiding(contents)
52+#if MIN_VERSION_blaze_markup(0,6,3)
53+#else
5254import Text.Blaze.Internal(preEscapedString)
55+#endif
5356#if MIN_VERSION_blaze_html(0,5,1)
5457import qualified Text.Blaze.XHtml5 as H5
5558#else