Strip whitespace from truncated titles