Handle whitespace and invisibles