strip-whitespace

Usage

strip-whitespace expression

Aliases

strip_whitespace

Description

strip-whitespace removes all leading and trailing whitespace from given nodes. If applied to an element node, it removes all leading and trailing child whitespace-only text nodes and CDATA sections.