html
Jump to function (5) ›
html/doctype#
(doctype type)
Returns an HTML doctype declaration.
Example:
(doctype :html5) ; => "<!DOCTYPE html>\n"
html/escape-html#
(escape-html s)
Escapes HTML special characters to prevent XSS.
Example:
(escape-html "<div>") ; => "<div>"
html/html#
(html & content)
Compiles Phel vectors to HTML strings.
Example:
(html [:div "Hello"]) ; => "<div>Hello</div>"
html/raw-string#
(raw-string s)
Creates a new raw-string struct.
html/raw-string?#
(raw-string? x)
Checks if x is an instance of the raw-string struct.