Clojure wrapper around jsoup.
Clojure wrapper around jsoup.
(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.
(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).
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |