UNPKG

html-ellipsis

Version:

truncates a html string without messing up the tags

66 lines (37 loc) 2.42 kB
## [2.0.16](https://github.com/alexghr/html-ellipsis/compare/v2.0.15...v2.0.16) (2025-02-14) ## [2.0.15](https://github.com/alexghr/html-ellipsis/compare/v2.0.14...v2.0.15) (2025-02-14) ## [2.0.14](https://github.com/alexghr/html-ellipsis/compare/v2.0.13...v2.0.14) (2024-11-18) ## [2.0.13](https://github.com/alexghr/html-ellipsis/compare/v2.0.12...v2.0.13) (2024-11-04) ## [2.0.12](https://github.com/alexghr/html-ellipsis/compare/v2.0.11...v2.0.12) (2024-10-21) ## [2.0.11](https://github.com/alexghr/html-ellipsis/compare/v2.0.10...v2.0.11) (2024-08-26) ## [2.0.10](https://github.com/alexghr/html-ellipsis/compare/v2.0.9...v2.0.10) (2024-06-16) ## [2.0.9](https://github.com/alexghr/html-ellipsis/compare/v2.0.8...v2.0.9) (2024-06-10) ## [2.0.8](https://github.com/alexghr/html-ellipsis/compare/v2.0.7...v2.0.8) (2024-04-10) ## [2.0.7](https://github.com/alexghr/html-ellipsis/compare/v2.0.6...v2.0.7) (2024-02-21) ## [2.0.6](https://github.com/alexghr/html-ellipsis/compare/v2.0.5...v2.0.6) (2023-12-15) ## [2.0.5](https://github.com/alexghr/html-ellipsis/compare/v2.0.4...v2.0.5) (2022-11-07) ## [2.0.4](https://github.com/alexghr/html-ellipsis/compare/v2.0.3...v2.0.4) (2022-06-04) ## [2.0.3](https://github.com/alexghr/html-ellipsis/compare/v2.0.2...v2.0.3) (2022-06-02) ## [2.0.2](https://github.com/alexghr/html-ellipsis/compare/v2.0.1...v2.0.2) (2022-05-27) ## [2.0.1](https://github.com/alexghr/html-ellipsis/compare/v2.0.0...v2.0.1) (2022-01-03) # [2.0.0](https://github.com/alexghr/html-ellipsis/compare/v1.1.1...v2.0.0) (2022-01-03) ### Features * new major version ([94bf166](https://github.com/alexghr/html-ellipsis/commit/94bf166a47650bdff3c2f1d0ac9097aa07faca98)) ### BREAKING CHANGES * new major version # Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] N/A ## [1.1.1] - 2015-11-08 ### Fixed - [#2](https://github.com/alexghr/html-ellipsis/pull/2) - Consider pair of surrogates char points as single character. ## [1.1.0] - 2014-10-03 ### Added - Support for void tags (e.g. `<br>`, `<img>`). ## 1.0.0 - 2014-09-28 Initial version. [Unreleased]: https://github.com/alexghr/html-ellipsis/compare/v1.1.1...HEAD [1.1.1]: https://github.com/alexghr/html-ellipsis/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/alexghr/html-ellipsis/compare/v1.0.0...v1.1.0