changed whitespace rules to be more correct wrt text nodes
0.3.16