arendjr / text-clipper

Fast and correct clip functions for HTML and plain text
MIT License
133 stars 13 forks source link

Option to NOT have the space between word and the indicator #20

Closed pedromagalhaes closed 2 years ago

pedromagalhaes commented 2 years ago

Hi all,

The text-clipper adds an extra space between the last word and indicator. Default: xpto ...

Is there any option to NOT have the space between word and indicator? Desirable: xpto...

Thank you so much

arendjr commented 2 years ago

Currently there isn’t, but a PR would be welcomed. See #18.