fix a bug with shrink_urls() when ran on text that contains no urls