From ed22bb573b64f6e3d6dc808a339a26a8b028b53e Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 12 Oct 2022 12:59:37 +0200 Subject: [PATCH] Fix #1391: support loading hiccup.page from source --- feature-hiccup/babashka/impl/hiccup.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feature-hiccup/babashka/impl/hiccup.clj b/feature-hiccup/babashka/impl/hiccup.clj index 7ff8e53f..0e62248c 100644 --- a/feature-hiccup/babashka/impl/hiccup.clj +++ b/feature-hiccup/babashka/impl/hiccup.clj @@ -64,7 +64,8 @@ (def hiccup-util-namespace {'*html-mode* html-mode '*escape-strings?* escape-strings? - 'raw-string (copy-var util/raw-string uns)}) + 'raw-string (copy-var util/raw-string uns) + 'to-uri (copy-var util/to-uri uns)}) (defn render-html [& contents] (binding [util/*html-mode* @html-mode