diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-11-27 21:18:58 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-27 21:18:58 +0100 |
commit | ea916432acea8a2db02b1ba3a7647635684e3cc1 (patch) | |
tree | 28f1fd2fcd3f7197e7b5144fc0771809310bb867 /src | |
parent | 1fc07ff4dae5b3673ac2090d0a52f69afc1f078e (diff) | |
download | pandoc-ea916432acea8a2db02b1ba3a7647635684e3cc1.tar.gz |
Updated renderHtml import in HTML writer to avoid deprecated function.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/HTML.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index dc209f3da..358017fd4 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -1,5 +1,4 @@ {-# LANGUAGE OverloadedStrings, CPP, ViewPatterns, ScopedTypeVariables #-} -{-# OPTIONS_GHC -fno-warn-deprecations #-} {- Copyright (C) 2006-2015 John MacFarlane <jgm@berkeley.edu> @@ -62,7 +61,7 @@ import qualified Text.Blaze.Html5 as H5 #endif import qualified Text.Blaze.XHtml1.Transitional as H import qualified Text.Blaze.XHtml1.Transitional.Attributes as A -import Text.Blaze.Renderer.String (renderHtml) +import Text.Blaze.Html.Renderer.String (renderHtml) import Text.TeXMath import Text.XML.Light.Output import Text.XML.Light (unode, elChildren, unqual) |