Wring whitespaces inside selector

Close #17
Merge pull request #18 from hail2u/issue17

Wring whitespaces inside selector