Fixes handling of rouge whitespace.