mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-25 00:45:47 +00:00
HTML writer: Use XHtml5 only if blaze version current enough.
This commit is contained in:
@@ -53,7 +53,11 @@ 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
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user