Convert a single DOM node (text or element) into zero or more AST elements.
Whitespace-only text nodes are normalised: nodes containing a space or NBSP
become a single space (inline separator), while nodes containing only
newlines/tabs are dropped (structural whitespace between blocks).
Convert a single DOM node (text or element) into zero or more AST elements.
Whitespace-only text nodes are normalised: nodes containing a space or NBSP become a single space (inline separator), while nodes containing only newlines/tabs are dropped (structural whitespace between blocks).