modified shorten_text to include https as well