Skip to content

Releases: arendjr/text-clipper

text-clipper 2.2.0

27 Dec 22:13
Compare
Choose a tag to compare

text-clipper 2.2.0 introduces the stripTags option and treats <audio> and <video> elements as "unbreakable" elements, similar to <math> and <svg>. There's also a tiny Unicode fix, though this should not affect any properly encoded input.

Full Changelog: 2.1.0...2.2.0

text-clipper 2.1.0

27 May 19:57
Compare
Choose a tag to compare

Text-clipper 2.1.0 features no API changes, but improves the way whitespace is counted in HTML tags for tables and lists. This helps to prevent tables and lists from getting unexpectedly clipped in positions where no text should be.

text-clipper 2.0.0

14 May 11:32
Compare
Choose a tag to compare

Text-clipper 2.0.0 features no API changes, but is marked a breaking change because it now assumes Array.prototype.includes() is available. This means people requiring support for Internet Explorer should be careful they have the right polyfill available.

Internally, the library is now using TypeScript and tests have been moved to Jest. This is also the first release that will be published as a Deno module.