aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-01-19 22:46:29 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-01-19 22:46:29 -0800
commit8ffb4e5b334a302ba7b07c4213e7102c23ef7721 (patch)
tree30de31b89828f3b8b1b5fb15255fc44d4ee5c1bd /src/Text/Pandoc
parentb8ffd834cff717fe424f22e506351f2ecec4655a (diff)
downloadpandoc-8ffb4e5b334a302ba7b07c4213e7102c23ef7721.tar.gz
Conditional import to avoid warning.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 9e2347798..cbceae2ce 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -56,8 +56,11 @@ import qualified Data.Text.Lazy as TL
import Network.HTTP (urlEncode)
import Network.URI (URI (..), parseURIReference, unEscapeString)
import Numeric (showHex)
-import Text.Blaze.Internal
- (customLeaf, MarkupM(Empty), preEscapedString, preEscapedText)
+import Text.Blaze.Internal (customLeaf, MarkupM(Empty))
+#if MIN_VERSION_blaze_markup(0,6,3)
+#else
+import Text.Blaze.Internal (preEscapedString, preEscapedText)
+#endif
import Text.Blaze.Html hiding (contents)
import Text.Pandoc.Definition
import Text.Pandoc.Highlighting (formatHtmlBlock, formatHtmlInline, highlight,