Open HTML to PDF's built-in support for this document tree conversion breaks SVG support when using the Batik renderer. luckily, more recent versions of JSoup include their own W3C document tree converter, so we just use that one instead. and as a bonus, we're no longer using an ancient version of JSoup.
22 lines
1 KiB
Clojure
22 lines
1 KiB
Clojure
(defproject clj-htmltopdf "0.1-alpha3"
|
|
:description "Simple Clojure wrapper for Open HTML to PDF"
|
|
:url "https://github.com/gered/clj-htmltopdf"
|
|
:license {:name "GNU Lesser General Public License v3.0"
|
|
:url "https://www.gnu.org/licenses/lgpl.html"}
|
|
|
|
:dependencies [[com.openhtmltopdf/openhtmltopdf-core "0.0.1-RC13"]
|
|
[com.openhtmltopdf/openhtmltopdf-pdfbox "0.0.1-RC13"]
|
|
[com.openhtmltopdf/openhtmltopdf-rtl-support "0.0.1-RC13"]
|
|
[com.openhtmltopdf/openhtmltopdf-svg-support "0.0.1-RC13"]
|
|
[org.jsoup/jsoup "1.11.3"]
|
|
[commons-io/commons-io "2.5"]
|
|
[hiccup "1.0.5"]]
|
|
|
|
:profiles {:provided
|
|
{:dependencies [[org.clojure/clojure "1.8.0"]]}
|
|
|
|
:dev
|
|
{:dependencies [[pjstadig/humane-test-output "0.8.1"]]
|
|
:injections [(require 'pjstadig.humane-test-output)
|
|
(pjstadig.humane-test-output/activate!)]}})
|