Liking cljdoc? Tell your friends :D

hiccup.util

Utility functions for Hiccup.

Utility functions for Hiccup.
raw docstring

*base-url*clj

source

*encoding*clj

source

*html-mode*clj

source

as-strclj

(as-str & xs)

Converts its arguments into a string using to-str.

Converts its arguments into a string using to-str.
sourceraw docstring

escape-htmlclj

(escape-html text)

Change special characters into HTML character entities.

Change special characters into HTML character entities.
sourceraw docstring

ToStringcljprotocol

to-strclj

(to-str x)

Convert a value into a string.

Convert a value into a string.
source

ToURIcljprotocol

to-uriclj

(to-uri x)

Convert a value into a URI.

Convert a value into a URI.
source

urlclj

(url & args)

Creates a URI instance from a variable list of arguments and an optional parameter map as the last argument. For example: (url "/group/" 4 "/products" {:page 9}) => "/group/4/products?page=9"

Creates a URI instance from a variable list of arguments and an optional
parameter map as the last argument. For example:
  (url "/group/" 4 "/products" {:page 9})
  => "/group/4/products?page=9"
sourceraw docstring

URLEncodecljprotocol

url-encodeclj

(url-encode x)

Turn a value into a URL-encoded string.

Turn a value into a URL-encoded string.
source

with-base-urlcljmacro

(with-base-url base-url & body)

Sets a base URL that will be prepended onto relative URIs. Note that for this to work correctly, it needs to be placed outside the html macro.

Sets a base URL that will be prepended onto relative URIs. Note that for this
to work correctly, it needs to be placed outside the html macro.
sourceraw docstring

with-encodingcljmacro

(with-encoding encoding & body)

Sets a default encoding for URL encoding strings. Defaults to UTF-8.

Sets a default encoding for URL encoding strings. Defaults to UTF-8.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close