Filter whitespace nodes before wrap.

Removing whitespace nodes to prevent empty span wraps.
Merge pull request #41 from siad007/patch-7

Filter whitespace nodes before wrap.