Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ignore invisible space characters #25

Closed
jurreantonisse opened this issue Oct 5, 2014 · 4 comments
Closed

Feature request: ignore invisible space characters #25

jurreantonisse opened this issue Oct 5, 2014 · 4 comments
Assignees

Comments

@jurreantonisse
Copy link

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.

@RadLikeWhoa
Copy link
Owner

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.

@RadLikeWhoa RadLikeWhoa self-assigned this Oct 20, 2014
@RadLikeWhoa
Copy link
Owner

@jurreantonisse Just asking, have you done any work on this yet? If not, I'd take it over, if that's okay with you.

@jurreantonisse
Copy link
Author

@RadLikeWhoa No, not yet. My apologies. Haven't found the time. Thanks!

@RadLikeWhoa
Copy link
Owner

Done. Zero-width characters are ignored by default, starting with version 2.1.0 (https://github.com/RadLikeWhoa/Countable/releases/tag/v2.1.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants