From 682f8514fb2887918ff5f80ede4e1b4c81f13d19 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 12 Oct 2022 12:47:03 +0200 Subject: [PATCH] #1391: include raw in hiccup2.core ns --- 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 d2903b06..7ff8e53f 100644 --- a/feature-hiccup/babashka/impl/hiccup.clj +++ b/feature-hiccup/babashka/impl/hiccup.clj @@ -55,7 +55,8 @@ {'html (copy-var html-1 hns {:name 'html})}) (def hiccup2-namespace - {'html (copy-var html-2 hns2 {:name 'html})}) + {'html (copy-var html-2 hns2 {:name 'html}) + 'raw (copy-var util/raw-string hns2)}) (def html-mode (copy-var util/*html-mode* uns)) (def escape-strings? (copy-var util/*escape-strings?* uns))