Trim whitespace from title.