At the moment I am using Hiccup to generate some HTML and then using
Enlive to put the HTML in a form using the function (html-snippet my-
html).
e.g
[:input] (substitute (html-snippet
(hiccup/html [:input {:type "text" :value
"whatever"}])))
This works fine except it seems untidy to have to do:
clojure datastructure -> string -> clojure datastructure -> html page
Since Hiccup and Tagsoup are compatible and Enlive uses tagsoup. Am I
missing an easier way of doing this?