Truncating preserves html tags