releases

borkdude 2026-06-13T10:19:59.118909Z

https://github.com/borkdude/html: Produce HTML from hiccup in Clojure and ClojureScript 0.2.5 • https://github.com/borkdude/html/pull/16: only render a map attribute value as CSS when the key is`style`; other map-like values such as records now render via`str`(https://github.com/telekid) • Fix escaping in cljs when escaped characters appear more than once in string (https://github.com/telekid)

❤️ 1
🎉 5
Gregory Bleiker 2026-06-14T12:22:21.551549Z

This is once again awesome, @borkdude. I had hacked something "myself" (=nicked it somewhere else) and now there is a good way to do this. I wanted to use hiccup->html conversion from nbb, and for some reason hiccup itself didn't work (some java dependency). I suppose this also works in nbb, correct?

borkdude 2026-06-14T12:22:56.695979Z

@gregorybleiker I haven't tested, but I hope so :)

borkdude 2026-06-14T12:25:06.269899Z

yep, seems to work fine

borkdude 2026-06-14T12:26:20.352139Z

$ npx nbb -cp src
Welcome to nbb v1.4.208!
user=> (require '[borkdude.html :as html])
nil
user=> (html/html [:a 1])
#object[borkdude.html.Html 0x6 "<a>1</a>"]
user=> (str (html/html [:a 1]))
"<a>1</a>"
user=>

❤️ 1