Liking cljdoc? Tell your friends :D
Clojure only.

jj.majavat.renderer.sanitizer


sink-writerclj

(sink-writer san)

Returns a fn (fn [builder s] -> builder) that escapes s straight into a mutable string builder, for the built-in sanitizers. Returns nil for any other sanitizer, so callers fall back to sanitize + append. Intended to be called once at parse time, not per render.

Returns a fn (fn [builder s] -> builder) that escapes `s` straight into a
mutable string builder, for the built-in sanitizers. Returns nil for any
other sanitizer, so callers fall back to `sanitize` + append. Intended to be
called once at parse time, not per render.
sourceraw 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