Releases: mogelbrod/widont
Releases · mogelbrod/widont
v0.4.0
- Add optional
minWords
argument (3rd argument towidont
). - (BREAKING CHANGE) Specify
minWords=3
as default to avoid forcing strings only consisting of two words to be kept together, as that could lead to them overflowing. If you can retain the original behaviour by passing2
as the 3rd argument towidont()
:widont('my string', 'unicode', 2)