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

Invisible characters not supported #3

Open
fabe opened this issue Apr 27, 2016 · 2 comments
Open

Invisible characters not supported #3

fabe opened this issue Apr 27, 2016 · 2 comments

Comments

@fabe
Copy link

fabe commented Apr 27, 2016

Currently invisible characters are also copied (screenshot).

Simple fix could be:

// ·
.replace(/\267/g, ' ')
// »
.replace(/\273 /g, '  ')
// ¬
.replace(/\254/g, '')
// ¤
.replace(/\244/g, '')
@ericclemmons
Copy link

I had the same happen for newlines showing up as: Â

@frantic Would you accept a PR for fixing this?

@frantic
Copy link
Owner

frantic commented Jun 7, 2016

@ericclemmons sure :)

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

3 participants