diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-01-19 22:46:29 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-01-19 22:46:29 -0800 |
commit | 8ffb4e5b334a302ba7b07c4213e7102c23ef7721 (patch) | |
tree | 30de31b89828f3b8b1b5fb15255fc44d4ee5c1bd /src/Text/Pandoc | |
parent | b8ffd834cff717fe424f22e506351f2ecec4655a (diff) | |
download | pandoc-8ffb4e5b334a302ba7b07c4213e7102c23ef7721.tar.gz |
Conditional import to avoid warning.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/HTML.hs | 7 |
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, |