Common substring shortening breaks at whitespace only.