Shouldn't we just do `node.text.strip()`?