Filter whitespace nodes before wrap.

Removing whitespace nodes to prevent empty span wraps like @jlslew suggested in addition to Issue #7.