Trim token filter

edit

The trim token filter trims the whitespace surrounding a token.