Closed jurreantonisse closed 10 years ago
This would be a rather simple test to exclude those characters, right? I don't see any harm in doing that, actually, so I think it'd be great if you could work out a PR.
@jurreantonisse Just asking, have you done any work on this yet? If not, I'd take it over, if that's okay with you.
@RadLikeWhoa No, not yet. My apologies. Haven't found the time. Thanks!
Done. Zero-width characters are ignored by default, starting with version 2.1.0 (https://github.com/RadLikeWhoa/Countable/releases/tag/v2.1.0).
This is a feature request to ignore zero width space characters (http://www.fileformat.info/info/unicode/char/200b/index.htm) in the character and word count.
HTML text editors such as Redactor (http://imperavi.com/redactor/) sometimes insert zero width space characters.
I also would like to contribute by sending send a pull request but would like to discuss the functionality first.