Tag safe text truncation for HTML and XML!