(as-str x)
A list of tags that need an explicit ending tag when rendered.
A list of tags that need an explicit ending tag when rendered.
(escape-html text)
Change special characters into HTML character entities.
Change special characters into HTML character entities.
(normalize-element [tag & content])
Ensure a tag vector is of the form [tag-name attrs content].
Ensure a tag vector is of the form [tag-name attrs content].
(render-attr-map attrs)
(render-attribute [name value])
(render-element element)
Render a tag vector as a HTML element.
Render a tag vector as a HTML element.
(render-html x)
Turn a Clojure data type into a string of HTML.
In Hiccup, sequences are expanded out into the body. This is particularly useful for macros like for
.
Turn a Clojure data type into a string of HTML. In Hiccup, sequences are expanded out into the body. This is particularly useful for macros like `for`.
(xml-attribute name value)
(xml-attribute name value escape?)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close