News: Changed the ellipsis function.

It's simpler to just count the number of open and closing tags. If there is a mismatch (we cut between two tags), then we just append a closing tag.