From ba1e74dcd7a3db8af3653f59416fc2740730b320 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 26 Mar 2013 11:38:11 -0700 Subject: Removed blaze_html_0_5 flag, require blaze-html >= 0.5. Reason: < 0.5 does not provide a monoid instance for Attribute, which is now needed by the HTML writer. Closes #803. --- src/Text/Pandoc/Writers/HTML.hs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index cdd34deae..0e1d35887 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -47,12 +47,8 @@ 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 #if MIN_VERSION_blaze_html(0,5,1) import qualified Text.Blaze.XHtml5 as H5 #else -- cgit v1.2.3