Updated limitEllipsis with stripTags and spaceSentences