Adding the ability to ignore collapsed whitespaces