Liking cljdoc? Tell your friends :D

io.github.papachan.montalivet

Clojure wrapper around jsoup.

Clojure wrapper around jsoup.
raw docstring

body-htmlclj

(body-html doc)

Returns the inner HTML of the document body as a string.

Returns the inner HTML of the document body as a string.
raw docstring

escape-htmlclj

(escape-html s)
(escape-html s opts)

Escapes s so it is safe to embed as HTML text.

Takes the same :escape-mode and :pretty-print options as parse (default :base).

Escapes `s` so it is safe to embed as HTML text.

Takes the same `:escape-mode` and `:pretty-print` options as `parse`
(default :base).
raw docstring

parseclj

(parse html)
(parse html opts)

Parses the html string into a jsoup Document.

Options:

  • :pretty-print boolean, default true.
  • :escape-mode one of :base, :xhtml, :extended.
Parses the `html` string into a jsoup Document.

Options:
- `:pretty-print` boolean, default true.
- `:escape-mode`  one of :base, :xhtml, :extended.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close