joaocunha opened this issue 9 years ago · 2 comments
It would be great to be able to append some HTML after the ellipsis. In this example, there's a link to continue reading.
You already can :)
truncate("1234 http://google.com hey :)", 4, {ellipsis:'<a>continue reading</a>'});
💯!