filter: Fix whitespace sanitizing