kavalcante / vue-truncate-collapsed

A simple component that truncates your text and adds a 'Read More/Show Less' clickable.
https://kavalcante.github.io/vue-truncate-collapsed/
MIT License
108 stars 17 forks source link

Fix truncation length calculation when comparing html input to max chars allowed #17

Closed seriouslysean closed 4 years ago

seriouslysean commented 4 years ago

This fixes an issue with the truncation length reported when using html input. This will fix the issue called out in https://github.com/kavalcante/vue-truncate-collapsed/issues/16.

Couple of things to note:

Let me know if you have any questions 👋