copy-with-syntax
copy-with-syntax copied to clipboard
Invisible characters not supported
Currently invisible characters are also copied (screenshot).
Simple fix could be:
// ·
.replace(/\267/g, ' ')
// »
.replace(/\273 /g, ' ')
// ¬
.replace(/\254/g, '')
// ¤
.replace(/\244/g, '')
I had the same happen for newlines showing up as: Â
@frantic Would you accept a PR for fixing this?
@ericclemmons sure :)