Trim whitespace from permalinks.

Remove accidental whitespace from permalinks.