fixed whitespace-handling for foldPrefix- and ignorePrefix stripping, which previously resulted in doubled whitespaces