Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
DOM node whose siblings should be removed.
Optional boolean that specifies the direction of the traversal.
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.