From 7885a2c4a36581494e2ba0a6830bc8cea1fb00dd Mon Sep 17 00:00:00 2001 From: gered Date: Fri, 18 Aug 2017 09:04:36 -0400 Subject: [PATCH] rename image embedding helper function i just like this name better. *shrug* --- src/clj_htmltopdf/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj_htmltopdf/core.clj b/src/clj_htmltopdf/core.clj index a4bd7dd..d7740f8 100644 --- a/src/clj_htmltopdf/core.clj +++ b/src/clj_htmltopdf/core.clj @@ -16,7 +16,7 @@ [org.jsoup Jsoup] [org.jsoup.nodes Document])) -(defn ->inline-image +(defn embed-image "Reads an image file and encodes it as a base64 string suitable for use in a data url for displaying inline images in tags or for use in CSS." [image-file]