diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-15 21:17:32 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-17 22:46:03 -0800 |
commit | 89c962a18cb354ead249dab3d45e09e3bf9de84e (patch) | |
tree | b63b768f7ce22c0e3b336952f2cce19f25d3a24d /pandoc.cabal | |
parent | d78e9c1dac731b737daadcba7f94f81acbbe5d3c (diff) |
Use blaze-html instead of xhtml for HTML generation.
* This is a breaking API change for `writeHtml`.
* It introduces a new dependency on blaze-html.
* Pandoc now depends on highlighting-kate >= 0.4, which
also uses blaze-html.
* The --ascii option has been removed, because of differences
in blaze-html's and xhtml's escaping.
* Pandoc will no longer transform leading newlines in code
blocks to `<br/>` tags.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index b05e00ef2..92e9f6f07 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -202,7 +202,7 @@ Library -- BEGIN DUPLICATED SECTION Build-Depends: containers >= 0.1 && < 0.5, parsec >= 2.1 && < 3.2, - xhtml >= 3000.0 && < 3000.3, + blaze-html >= 0.4 && < 0.5, mtl >= 1.1 && < 2.1, network >= 2 && < 2.4, filepath >= 1.1 && < 1.3, @@ -229,7 +229,7 @@ Library else Build-depends: base >= 3 && < 4 if flag(highlighting) - Build-depends: highlighting-kate >= 0.2.9 && < 0.4 + Build-depends: highlighting-kate >= 0.4 && < 0.5 cpp-options: -D_HIGHLIGHTING if impl(ghc >= 6.12) Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind @@ -290,7 +290,7 @@ Executable pandoc -- BEGIN DUPLICATED SECTION Build-Depends: containers >= 0.1 && < 0.5, parsec >= 2.1 && < 3.2, - xhtml >= 3000.0 && < 3000.3, + blaze-html >= 0.4 && < 0.5, mtl >= 1.1 && < 2.1, network >= 2 && < 2.4, filepath >= 1.1 && < 1.3, @@ -317,7 +317,7 @@ Executable pandoc else Build-depends: base >= 3 && < 4 if flag(highlighting) - Build-depends: highlighting-kate >= 0.2.9 && < 0.4 + Build-depends: highlighting-kate >= 0.4 && < 0.5 cpp-options: -D_HIGHLIGHTING if impl(ghc >= 6.12) Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind |