Slack Snippets zero width space bug

I wrote last week about how to detect and remove zero width space characters (​) from Sublime Text. Turns out the culprit is a bug in Slack.

We use Slack to maintain a code snippet library using their Snippet feature. It works great for a few reasons:

  • Maintains tab spacing and breaks
  • Syntax highlighted
  • Easily searched
Awesome snippet there, Bry.

Bad news? Good news!

Unfortunately when copy/pasting from a previous snippet, the unwanted characters get injected. The good news is that Slack is aware of the issue and are working on a fix. Until they do, I’ll continue to simply delete these characters now that I’m able to detect them in Sublime Text.

Leave a Reply

Your email address will not be published. Required fields are marked *

See if Cinch is right for you.

Ask us anything. Seriously. Like, what is the air speed velocity of an unladen swallow?

Start a chat right now

Or go ahead and Sign up now