Liking cljdoc? Tell your friends :D
Clojure only.

stencil.postprocess.whitespaces

Logics of handling whitespace characters in OOXML text runs.

The code visits all <w/t> elements and modifies content where necessary:

  • If content starts or ends with whitespace, add a space=preserve attribute.
  • Replace characters with <w/br /> elements.
  • Replace characters with <w/tab /> elements.
Logics of handling whitespace characters in OOXML text runs.

  The code visits all <w/t> elements and modifies content where necessary:
  - If content starts or ends with whitespace, add a space=preserve attribute.
  - Replace 
characters with <w/br /> elements.
  - Replace 	 characters with <w/tab /> elements.
raw docstring

fix-whitespacesclj

(fix-whitespaces xml-tree)
source

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

× close